visual.log 762 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915
  1. 2017-08-10 14:38:42.827 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2. 2017-08-10 14:38:42.827 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  3. 2017-08-10 14:38:58.553 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  4. 2017-08-10 14:38:58.556 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  5. 2017-08-10 14:38:58.589 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  6. 2017-08-10 14:38:58.853 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  7. 2017-08-10 14:38:58.854 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  8. 2017-08-10 14:38:58.884 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  9. 2017-08-10 14:38:58.885 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  10. 2017-08-10 14:38:58.886 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  11. 2017-08-10 14:38:58.915 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  12. 2017-08-10 14:38:58.923 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  13. 2017-08-10 14:38:58.923 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  14. 2017-08-10 14:38:58.953 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  15. 2017-08-10 14:38:58.954 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  16. 2017-08-10 14:38:58.954 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  17. 2017-08-10 14:38:58.982 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  18. 2017-08-10 14:38:58.984 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  19. 2017-08-10 14:38:58.984 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  20. 2017-08-10 14:38:59.024 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  21. 2017-08-10 14:38:59.390 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  22. 2017-08-10 14:38:59.390 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  23. 2017-08-10 14:38:59.435 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  24. 2017-08-10 14:38:59.435 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  25. 2017-08-10 14:38:59.463 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  26. 2017-08-10 14:38:59.464 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  27. 2017-08-10 14:38:59.464 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  28. 2017-08-10 14:38:59.464 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  29. 2017-08-10 14:38:59.465 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  30. 2017-08-10 14:38:59.494 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  31. 2017-08-10 14:38:59.495 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  32. 2017-08-10 14:38:59.495 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  33. 2017-08-10 14:38:59.496 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  34. 2017-08-10 14:38:59.541 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  35. 2017-08-10 14:38:59.542 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  36. 2017-08-10 14:38:59.542 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  37. 2017-08-10 14:38:59.599 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  38. 2017-08-10 14:38:59.599 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  39. 2017-08-10 14:38:59.600 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  40. 2017-08-10 14:38:59.644 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  41. 2017-08-10 14:38:59.645 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  42. 2017-08-10 14:38:59.664 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  43. 2017-08-10 14:38:59.697 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  44. 2017-08-10 14:38:59.699 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  45. 2017-08-10 14:38:59.733 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  46. 2017-08-10 14:38:59.733 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  47. 2017-08-10 14:38:59.792 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  48. 2017-08-10 14:38:59.793 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  49. 2017-08-10 14:38:59.794 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  50. 2017-08-10 14:38:59.839 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  51. 2017-08-10 14:38:59.868 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  52. 2017-08-10 14:38:59.868 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  53. 2017-08-10 14:38:59.900 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  54. 2017-08-10 14:38:59.901 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  55. 2017-08-10 14:38:59.902 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  56. 2017-08-10 14:38:59.902 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  57. 2017-08-10 14:38:59.937 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  58. 2017-08-10 14:38:59.937 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  59. 2017-08-10 14:38:59.938 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  60. 2017-08-10 14:38:59.939 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  61. 2017-08-10 14:38:59.939 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  62. 2017-08-10 14:38:59.940 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  63. 2017-08-10 14:38:59.976 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  64. 2017-08-10 14:38:59.977 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  65. 2017-08-10 14:38:59.977 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  66. 2017-08-10 14:38:59.978 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  67. 2017-08-10 14:38:59.978 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  68. 2017-08-10 14:38:59.979 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  69. 2017-08-10 14:39:00.005 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  70. 2017-08-10 14:39:00.017 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  71. 2017-08-10 14:39:00.047 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  72. 2017-08-10 14:39:00.048 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  73. 2017-08-10 14:39:00.051 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  74. 2017-08-10 14:39:00.052 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  75. 2017-08-10 14:39:00.060 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  76. 2017-08-10 14:39:00.061 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  77. 2017-08-10 14:39:00.062 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  78. 2017-08-10 14:39:00.062 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  79. 2017-08-10 14:39:00.093 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  80. 2017-08-10 14:39:00.093 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  81. 2017-08-10 14:39:00.102 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  82. 2017-08-10 14:39:00.134 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  83. 2017-08-10 14:39:00.134 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  84. 2017-08-10 14:39:00.163 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  85. 2017-08-10 14:39:00.164 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  86. 2017-08-10 14:39:00.164 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  87. 2017-08-10 14:39:00.200 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  88. 2017-08-10 14:39:00.200 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  89. 2017-08-10 14:39:00.201 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  90. 2017-08-10 14:39:00.234 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  91. 2017-08-10 14:39:00.263 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  92. 2017-08-10 14:39:00.264 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  93. 2017-08-10 14:39:00.272 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  94. 2017-08-10 14:39:00.272 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  95. 2017-08-10 14:39:00.373 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  96. 2017-08-10 14:39:00.404 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  97. 2017-08-10 14:39:00.434 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  98. 2017-08-10 14:39:00.434 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  99. 2017-08-10 14:39:00.476 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  100. 2017-08-10 14:39:00.477 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  101. 2017-08-10 14:39:00.477 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  102. 2017-08-10 14:39:00.519 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  103. 2017-08-10 14:39:00.520 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  104. 2017-08-10 14:39:00.520 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  105. 2017-08-10 14:39:00.570 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  106. 2017-08-10 14:39:00.599 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  107. 2017-08-10 14:39:00.600 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  108. 2017-08-10 14:39:00.604 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  109. 2017-08-10 14:39:00.605 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  110. 2017-08-10 14:39:00.661 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  111. 2017-08-10 14:39:00.822 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  112. 2017-08-10 14:39:00.852 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  113. 2017-08-10 14:39:00.852 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  114. 2017-08-10 14:39:00.881 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  115. 2017-08-10 14:39:00.882 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  116. 2017-08-10 14:39:00.882 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  117. 2017-08-10 14:39:00.910 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  118. 2017-08-10 14:39:00.911 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  119. 2017-08-10 14:39:00.911 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  120. 2017-08-10 14:39:00.937 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  121. 2017-08-10 14:39:00.966 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  122. 2017-08-10 14:39:00.968 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  123. 2017-08-10 14:39:01.019 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.TaskDao.getListInStatus_COUNT [159] -| ==> Preparing: SELECT count(0) FROM (SELECT t.*, CONCAT(substr(t.start_time, 1, 16), '-', substr(t.end_time, 12, 5)) AS check_period, (SELECT a.code_name FROM sys_code a WHERE a.code_flag = 'task_status' AND a.code_value = t.check_status) AS check_status_name, ca.appeal_result AS appeal_result FROM check_task t LEFT JOIN t_sys_users u ON t.checked_person = u.id LEFT JOIN check_appeal ca ON t.id = ca.task_id WHERE 1 = 1 AND t.check_status IN (?, ?)) table_count
  124. 2017-08-10 14:39:01.019 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.TaskDao.getListInStatus_COUNT [159] -| ==> Parameters: 2(Integer), 3(Integer)
  125. 2017-08-10 14:39:01.096 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.TaskDao.getListInStatus_COUNT [159] -| <== Total: 1
  126. 2017-08-10 14:39:01.098 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.TaskDao.getListInStatus [159] -| ==> Preparing: SELECT t.*, CONCAT(substr(t.start_time,1,16),'-',substr(t.end_time,12,5)) as check_period, (select a.code_name from sys_code a where a.code_flag='task_status' and a.code_value=t.check_status) as check_status_name, ca.appeal_result as appeal_result FROM check_task t left join t_sys_users u on t.checked_person=u.id left join check_appeal ca on t.id=ca.task_id WHERE 1=1 AND t.check_status in ( ? , ? ) order by t.start_time desc limit ?,?
  127. 2017-08-10 14:39:01.098 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.TaskDao.getListInStatus [159] -| ==> Parameters: 2(Integer), 3(Integer), 0(Integer), 10(Integer)
  128. 2017-08-10 14:39:01.147 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.TaskDao.getListInStatus [159] -| <== Total: 10
  129. 2017-08-10 14:39:08.691 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  130. 2017-08-10 14:39:08.691 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  131. 2017-08-10 14:39:08.694 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  132. 2017-08-10 14:39:08.694 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  133. 2017-08-10 14:39:08.694 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  134. 2017-08-10 14:39:08.694 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  135. 2017-08-10 14:39:08.721 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  136. 2017-08-10 14:39:08.721 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  137. 2017-08-10 14:39:08.723 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  138. 2017-08-10 14:39:08.723 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  139. 2017-08-10 14:39:08.751 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  140. 2017-08-10 14:39:08.751 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  141. 2017-08-10 14:39:08.751 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  142. 2017-08-10 14:39:08.752 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  143. 2017-08-10 14:39:08.752 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  144. 2017-08-10 14:39:08.753 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  145. 2017-08-10 14:39:08.781 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  146. 2017-08-10 14:39:08.782 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  147. 2017-08-10 14:39:08.782 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  148. 2017-08-10 14:39:08.791 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  149. 2017-08-10 14:39:08.792 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  150. 2017-08-10 14:39:08.792 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  151. 2017-08-10 14:39:08.802 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  152. 2017-08-10 14:39:08.802 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  153. 2017-08-10 14:39:08.802 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  154. 2017-08-10 14:39:08.803 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  155. 2017-08-10 14:39:08.808 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  156. 2017-08-10 14:39:08.827 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  157. 2017-08-10 14:39:08.893 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  158. 2017-08-10 14:39:08.893 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  159. 2017-08-10 14:39:08.893 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  160. 2017-08-10 14:39:08.894 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  161. 2017-08-10 14:39:08.894 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  162. 2017-08-10 14:39:08.894 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  163. 2017-08-10 14:39:08.894 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  164. 2017-08-10 14:39:08.894 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  165. 2017-08-10 14:39:08.895 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  166. 2017-08-10 14:39:08.895 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  167. 2017-08-10 14:39:08.897 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  168. 2017-08-10 14:39:08.897 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  169. 2017-08-10 14:39:08.935 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  170. 2017-08-10 14:39:08.936 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  171. 2017-08-10 14:39:08.939 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  172. 2017-08-10 14:39:08.939 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  173. 2017-08-10 14:39:08.940 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  174. 2017-08-10 14:39:08.940 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  175. 2017-08-10 14:39:08.941 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  176. 2017-08-10 14:39:08.941 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  177. 2017-08-10 14:39:08.941 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  178. 2017-08-10 14:39:08.943 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  179. 2017-08-10 14:39:08.944 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  180. 2017-08-10 14:39:08.944 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  181. 2017-08-10 14:39:08.971 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  182. 2017-08-10 14:39:08.972 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  183. 2017-08-10 14:39:08.972 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  184. 2017-08-10 14:39:08.972 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  185. 2017-08-10 14:39:08.973 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  186. 2017-08-10 14:39:08.973 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  187. 2017-08-10 14:39:08.974 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  188. 2017-08-10 14:39:09.002 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  189. 2017-08-10 14:39:09.002 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  190. 2017-08-10 14:39:09.003 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  191. 2017-08-10 14:39:09.018 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  192. 2017-08-10 14:39:09.019 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  193. 2017-08-10 14:39:09.028 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  194. 2017-08-10 14:39:09.029 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  195. 2017-08-10 14:39:09.029 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  196. 2017-08-10 14:39:09.046 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  197. 2017-08-10 14:39:09.047 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  198. 2017-08-10 14:39:09.049 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  199. 2017-08-10 14:39:09.049 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  200. 2017-08-10 14:39:09.056 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  201. 2017-08-10 14:39:09.058 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  202. 2017-08-10 14:39:09.079 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  203. 2017-08-10 14:39:09.088 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  204. 2017-08-10 14:39:09.089 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  205. 2017-08-10 14:39:09.090 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  206. 2017-08-10 14:39:09.155 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  207. 2017-08-10 14:39:09.156 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  208. 2017-08-10 14:39:09.156 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  209. 2017-08-10 14:39:09.215 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  210. 2017-08-10 14:39:09.215 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  211. 2017-08-10 14:39:09.216 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  212. 2017-08-10 14:39:09.243 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  213. 2017-08-10 14:39:09.243 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  214. 2017-08-10 14:39:09.244 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  215. 2017-08-10 14:39:09.244 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  216. 2017-08-10 14:39:09.244 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  217. 2017-08-10 14:39:09.271 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  218. 2017-08-10 14:39:09.273 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  219. 2017-08-10 14:39:09.274 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  220. 2017-08-10 14:39:09.276 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  221. 2017-08-10 14:39:09.291 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 222
  222. 2017-08-10 14:39:09.293 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  223. 2017-08-10 14:39:09.293 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  224. 2017-08-10 14:39:09.330 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  225. 2017-08-10 14:39:09.354 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  226. 2017-08-10 14:39:09.356 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  227. 2017-08-10 14:39:09.356 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  228. 2017-08-10 14:39:09.528 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  229. 2017-08-10 14:39:09.529 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  230. 2017-08-10 14:39:09.530 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  231. 2017-08-10 14:39:10.225 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  232. 2017-08-10 14:39:10.242 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  233. 2017-08-10 14:39:10.243 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  234. 2017-08-10 14:39:10.272 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  235. 2017-08-10 14:39:10.276 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  236. 2017-08-10 14:39:10.276 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  237. 2017-08-10 14:39:10.537 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  238. 2017-08-10 14:39:10.714 |-ERROR [http-nio-8089-exec-1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] [181] -| Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
  239. org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  240. at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.java:204)
  241. at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.getConnection(JedisConnectionFactory.java:348)
  242. at org.springframework.data.redis.core.RedisConnectionUtils.doGetConnection(RedisConnectionUtils.java:129)
  243. at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:92)
  244. at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:79)
  245. at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:194)
  246. at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:169)
  247. at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:91)
  248. at org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:43)
  249. at com.xintong.system.securityTools.RedisCacheUtil.getUserByUserName(RedisCacheUtil.java:19)
  250. at com.xintong.system.securityTools.JwtAuthenticationTokenFilter.doFilterInternal(JwtAuthenticationTokenFilter.java:60)
  251. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  252. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  253. at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
  254. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  255. at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
  256. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  257. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  258. at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
  259. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  260. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  261. at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
  262. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  263. at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
  264. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  265. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  266. at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
  267. at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
  268. at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  269. at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
  270. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  271. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  272. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
  273. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  274. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  275. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  276. at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
  277. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  278. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  279. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  280. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
  281. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  282. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  283. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  284. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
  285. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  286. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  287. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  288. at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
  289. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  290. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  291. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  292. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
  293. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
  294. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
  295. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
  296. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  297. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
  298. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
  299. at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
  300. at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  301. at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
  302. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
  303. at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  304. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  305. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  306. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  307. at java.lang.Thread.run(Thread.java:745)
  308. Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  309. at redis.clients.util.Pool.getResource(Pool.java:53)
  310. at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)
  311. at redis.clients.jedis.JedisPool.getResource(JedisPool.java:16)
  312. at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.java:194)
  313. ... 67 common frames omitted
  314. Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
  315. at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:202)
  316. at redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)
  317. at redis.clients.jedis.Protocol.process(Protocol.java:151)
  318. at redis.clients.jedis.Protocol.read(Protocol.java:215)
  319. at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)
  320. at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:239)
  321. at redis.clients.jedis.BinaryJedis.auth(BinaryJedis.java:2139)
  322. at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:108)
  323. at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)
  324. at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)
  325. at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
  326. at redis.clients.util.Pool.getResource(Pool.java:49)
  327. ... 70 common frames omitted
  328. Caused by: java.net.SocketTimeoutException: Read timed out
  329. at java.net.SocketInputStream.socketRead0(Native Method)
  330. at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  331. at java.net.SocketInputStream.read(SocketInputStream.java:170)
  332. at java.net.SocketInputStream.read(SocketInputStream.java:141)
  333. at java.net.SocketInputStream.read(SocketInputStream.java:127)
  334. at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:196)
  335. ... 81 common frames omitted
  336. 2017-08-10 14:53:40.875 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  337. 2017-08-10 14:53:41.198 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  338. 2017-08-10 14:53:41.198 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  339. 2017-08-10 14:53:41.242 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  340. 2017-08-10 14:53:41.287 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  341. 2017-08-10 14:53:41.287 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  342. 2017-08-10 14:53:41.333 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  343. 2017-08-10 14:53:41.334 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  344. 2017-08-10 14:53:41.334 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  345. 2017-08-10 14:53:41.376 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  346. 2017-08-10 14:53:41.442 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  347. 2017-08-10 14:53:41.443 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  348. 2017-08-10 14:53:41.447 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 and t.organid = ? AND t.positionid in ( ? , ? , ? , ? ) order by workno
  349. 2017-08-10 14:53:41.447 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 39(Integer), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  350. 2017-08-10 14:53:41.488 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 24
  351. 2017-08-10 14:53:41.514 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  352. 2017-08-10 14:53:41.514 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  353. 2017-08-10 14:53:41.515 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  354. 2017-08-10 14:53:41.515 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  355. 2017-08-10 14:53:41.553 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  356. 2017-08-10 14:53:41.554 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  357. 2017-08-10 14:53:41.594 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  358. 2017-08-10 14:53:41.595 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  359. 2017-08-10 14:53:41.595 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  360. 2017-08-10 14:53:41.631 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  361. 2017-08-10 14:53:41.632 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  362. 2017-08-10 14:53:41.633 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  363. 2017-08-10 14:53:41.654 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  364. 2017-08-10 14:53:41.655 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  365. 2017-08-10 14:53:41.673 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  366. 2017-08-10 14:53:41.697 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  367. 2017-08-10 14:53:41.698 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  368. 2017-08-10 14:53:41.698 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  369. 2017-08-10 14:53:41.698 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  370. 2017-08-10 14:53:41.699 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  371. 2017-08-10 14:53:41.732 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  372. 2017-08-10 14:53:41.734 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  373. 2017-08-10 14:53:41.743 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  374. 2017-08-10 14:53:41.744 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  375. 2017-08-10 14:53:41.744 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  376. 2017-08-10 14:53:41.744 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  377. 2017-08-10 14:53:41.775 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  378. 2017-08-10 14:53:41.775 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  379. 2017-08-10 14:53:41.776 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  380. 2017-08-10 14:53:41.777 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  381. 2017-08-10 14:53:41.777 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  382. 2017-08-10 14:53:41.810 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo_COUNT [159] -| ==> Preparing: SELECT count(0) FROM v_check_task t LEFT JOIN check_score cs ON t.id = cs.task_id LEFT JOIN (SELECT ci.*, cp.name AS parent_name FROM check_item ci LEFT JOIN check_item cp ON ci.parent_id = cp.id) ci ON ci.id = cs.check_item_id WHERE t.check_status != 22 AND t.id NOT IN (SELECT id FROM (SELECT check_task.*, deleted_user.starttime AS u_delet_time FROM check_task LEFT JOIN (SELECT t_s_y.id, date_sub(t_p.starttime, INTERVAL 1 hour) AS starttime FROM t_sys_users t_s_y LEFT JOIN (SELECT starttime, endtime FROM check_task_period) t_p ON DELETE_TIME >= starttime AND DELETE_TIME < endtime WHERE STATUS = -1 AND DELETE_TIME >= t_p.starttime AND DELETE_TIME < t_p.endtime) deleted_user ON check_task.checked_person = deleted_user.id) v_task WHERE v_task.u_delet_time IS NOT NULL AND v_task.end_time > v_task.u_delet_time) AND (cs.checked_person = ? OR t.monitor_user_id = ?) AND t.start_time >= ? AND t.end_time < ? AND cs.check_item_score IS NOT NULL
  383. 2017-08-10 14:53:41.811 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo_COUNT [159] -| ==> Parameters: 2162(Long), 2162(Long), 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  384. 2017-08-10 14:53:41.819 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  385. 2017-08-10 14:53:41.820 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  386. 2017-08-10 14:53:41.864 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  387. 2017-08-10 14:53:41.866 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  388. 2017-08-10 14:53:41.869 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedItemInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND checked_person = ? ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY m.parent_id
  389. 2017-08-10 14:53:41.870 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedItemInfo [159] -| ==> Parameters: 2162(Long), 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  390. 2017-08-10 14:53:41.895 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  391. 2017-08-10 14:53:41.897 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  392. 2017-08-10 14:53:41.900 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedInfoData [159] -| ==> Preparing: SELECT * FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as all_check_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT( t.id) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND t.checked_person = ? GROUP BY mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score,m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 AND m.checked_person = ? GROUP BY mth ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) t
  393. 2017-08-10 14:53:41.901 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedInfoData [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2162(Long), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2162(Long)
  394. 2017-08-10 14:53:41.907 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedItemInfo [159] -| <== Total: 0
  395. 2017-08-10 14:53:41.954 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo_COUNT [159] -| <== Total: 1
  396. 2017-08-10 14:53:41.957 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo [159] -| ==> Preparing: SELECT t.name AS check_task_name , t.start_time AS start_date , t.end_time AS end_date,cs.check_item_score AS score , ci.name AS name,ci.parent_name, cs.pics ,t.checkman AS checkman_id, t.checked_person AS user_id ,t.checked_dept AS dept_id FROM v_check_task t LEFT JOIN check_score cs ON t.id = cs.task_id LEFT JOIN (SELECT ci.* ,cp.name AS parent_name FROM check_item ci LEFT JOIN check_item cp ON ci.parent_id = cp.id) ci ON ci.id = cs.check_item_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND (cs.checked_person = ? OR t.monitor_user_id = ? ) AND t.start_time >= ? AND t.end_time < ? AND cs.check_item_score IS NOT NULL limit ?,?
  397. 2017-08-10 14:53:41.958 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo [159] -| ==> Parameters: 2162(Long), 2162(Long), 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 0(Integer), 10(Integer)
  398. 2017-08-10 14:53:41.965 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedInfoData [159] -| <== Total: 3
  399. 2017-08-10 14:53:41.969 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  400. 2017-08-10 14:53:41.970 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-05-25 23:00:00.0(Timestamp), 2017-06-25 23:00:00.0(Timestamp)
  401. 2017-08-10 14:53:42.022 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 0
  402. 2017-08-10 14:53:42.023 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  403. 2017-08-10 14:53:42.024 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-06-25 23:00:00.0(Timestamp), 2017-07-25 23:00:00.0(Timestamp)
  404. 2017-08-10 14:53:42.080 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 0
  405. 2017-08-10 14:53:42.081 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  406. 2017-08-10 14:53:42.082 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  407. 2017-08-10 14:53:42.101 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo [159] -| <== Total: 2
  408. 2017-08-10 14:53:42.749 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  409. 2017-08-10 14:53:43.534 |-ERROR [http-nio-8089-exec-8] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] [181] -| Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
  410. org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  411. at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.java:204)
  412. at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.getConnection(JedisConnectionFactory.java:348)
  413. at org.springframework.data.redis.core.RedisConnectionUtils.doGetConnection(RedisConnectionUtils.java:129)
  414. at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:92)
  415. at org.springframework.data.redis.core.RedisConnectionUtils.getConnection(RedisConnectionUtils.java:79)
  416. at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:194)
  417. at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:169)
  418. at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:91)
  419. at org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:43)
  420. at com.xintong.system.securityTools.RedisCacheUtil.getUserByUserName(RedisCacheUtil.java:19)
  421. at com.xintong.system.securityTools.JwtAuthenticationTokenFilter.doFilterInternal(JwtAuthenticationTokenFilter.java:60)
  422. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  423. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  424. at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
  425. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  426. at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
  427. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  428. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  429. at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
  430. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  431. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  432. at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
  433. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  434. at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
  435. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  436. at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  437. at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
  438. at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
  439. at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  440. at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
  441. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  442. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  443. at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
  444. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  445. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  446. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  447. at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
  448. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  449. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  450. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  451. at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
  452. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  453. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  454. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  455. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
  456. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  457. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  458. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  459. at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
  460. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  461. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  462. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  463. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
  464. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
  465. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
  466. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
  467. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  468. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
  469. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
  470. at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
  471. at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  472. at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
  473. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
  474. at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  475. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  476. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  477. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  478. at java.lang.Thread.run(Thread.java:745)
  479. Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  480. at redis.clients.util.Pool.getResource(Pool.java:53)
  481. at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)
  482. at redis.clients.jedis.JedisPool.getResource(JedisPool.java:16)
  483. at org.springframework.data.redis.connection.jedis.JedisConnectionFactory.fetchJedisConnector(JedisConnectionFactory.java:194)
  484. ... 67 common frames omitted
  485. Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
  486. at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:202)
  487. at redis.clients.util.RedisInputStream.readByte(RedisInputStream.java:40)
  488. at redis.clients.jedis.Protocol.process(Protocol.java:151)
  489. at redis.clients.jedis.Protocol.read(Protocol.java:215)
  490. at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)
  491. at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:239)
  492. at redis.clients.jedis.BinaryJedis.auth(BinaryJedis.java:2139)
  493. at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:108)
  494. at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)
  495. at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)
  496. at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
  497. at redis.clients.util.Pool.getResource(Pool.java:49)
  498. ... 70 common frames omitted
  499. Caused by: java.net.SocketTimeoutException: Read timed out
  500. at java.net.SocketInputStream.socketRead0(Native Method)
  501. at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  502. at java.net.SocketInputStream.read(SocketInputStream.java:170)
  503. at java.net.SocketInputStream.read(SocketInputStream.java:141)
  504. at java.net.SocketInputStream.read(SocketInputStream.java:127)
  505. at redis.clients.util.RedisInputStream.ensureFill(RedisInputStream.java:196)
  506. ... 81 common frames omitted
  507. 2017-08-10 14:53:49.494 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  508. 2017-08-10 14:53:49.494 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  509. 2017-08-10 14:53:49.494 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  510. 2017-08-10 14:53:49.495 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  511. 2017-08-10 14:53:49.573 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  512. 2017-08-10 14:53:49.573 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  513. 2017-08-10 14:53:49.575 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  514. 2017-08-10 14:53:49.575 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  515. 2017-08-10 14:53:49.616 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  516. 2017-08-10 14:53:49.616 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  517. 2017-08-10 14:53:49.617 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  518. 2017-08-10 14:53:49.617 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  519. 2017-08-10 14:53:49.617 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  520. 2017-08-10 14:53:49.617 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  521. 2017-08-10 14:53:49.617 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  522. 2017-08-10 14:53:49.618 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  523. 2017-08-10 14:53:49.652 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  524. 2017-08-10 14:53:49.652 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  525. 2017-08-10 14:53:49.652 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  526. 2017-08-10 14:53:49.653 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  527. 2017-08-10 14:53:49.653 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  528. 2017-08-10 14:53:49.653 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  529. 2017-08-10 14:53:49.653 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  530. 2017-08-10 14:53:49.653 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  531. 2017-08-10 14:53:49.654 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  532. 2017-08-10 14:53:49.654 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  533. 2017-08-10 14:53:49.654 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  534. 2017-08-10 14:53:49.695 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  535. 2017-08-10 14:53:49.696 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  536. 2017-08-10 14:53:49.697 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  537. 2017-08-10 14:53:49.698 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  538. 2017-08-10 14:53:49.699 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  539. 2017-08-10 14:53:49.699 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  540. 2017-08-10 14:53:49.699 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  541. 2017-08-10 14:53:49.699 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  542. 2017-08-10 14:53:49.741 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  543. 2017-08-10 14:53:49.741 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  544. 2017-08-10 14:53:49.742 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  545. 2017-08-10 14:53:49.742 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  546. 2017-08-10 14:53:49.743 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  547. 2017-08-10 14:53:49.743 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  548. 2017-08-10 14:53:49.750 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  549. 2017-08-10 14:53:49.751 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  550. 2017-08-10 14:53:49.753 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedInfoData [159] -| ==> Preparing: SELECT * FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as all_check_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT( t.id) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND t.checked_person = ? GROUP BY mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score,m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 AND m.checked_person = ? GROUP BY mth ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) t
  551. 2017-08-10 14:53:49.754 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedInfoData [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2156(Long), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2156(Long)
  552. 2017-08-10 14:53:49.757 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo_COUNT [159] -| ==> Preparing: SELECT count(0) FROM v_check_task t LEFT JOIN check_score cs ON t.id = cs.task_id LEFT JOIN (SELECT ci.*, cp.name AS parent_name FROM check_item ci LEFT JOIN check_item cp ON ci.parent_id = cp.id) ci ON ci.id = cs.check_item_id WHERE t.check_status != 22 AND t.id NOT IN (SELECT id FROM (SELECT check_task.*, deleted_user.starttime AS u_delet_time FROM check_task LEFT JOIN (SELECT t_s_y.id, date_sub(t_p.starttime, INTERVAL 1 hour) AS starttime FROM t_sys_users t_s_y LEFT JOIN (SELECT starttime, endtime FROM check_task_period) t_p ON DELETE_TIME >= starttime AND DELETE_TIME < endtime WHERE STATUS = -1 AND DELETE_TIME >= t_p.starttime AND DELETE_TIME < t_p.endtime) deleted_user ON check_task.checked_person = deleted_user.id) v_task WHERE v_task.u_delet_time IS NOT NULL AND v_task.end_time > v_task.u_delet_time) AND (cs.checked_person = ? OR t.monitor_user_id = ?) AND t.start_time >= ? AND t.end_time < ? AND cs.check_item_score IS NOT NULL
  553. 2017-08-10 14:53:49.757 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo_COUNT [159] -| ==> Parameters: 2156(Long), 2156(Long), 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  554. 2017-08-10 14:53:49.777 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  555. 2017-08-10 14:53:49.778 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  556. 2017-08-10 14:53:49.778 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  557. 2017-08-10 14:53:49.781 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.CheckTaskPeriodDao.select [159] -| ==> Preparing: select * from check_task_period where 1=1
  558. 2017-08-10 14:53:49.781 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.CheckTaskPeriodDao.select [159] -| ==> Parameters:
  559. 2017-08-10 14:53:49.809 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.CheckTaskPeriodDao.select [159] -| <== Total: 3
  560. 2017-08-10 14:53:49.811 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  561. 2017-08-10 14:53:49.811 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  562. 2017-08-10 14:53:49.811 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  563. 2017-08-10 14:53:49.812 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-06-25 23:00:00.0(Timestamp), 2017-07-25 23:00:00.0(Timestamp)
  564. 2017-08-10 14:53:49.815 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedInfoData [159] -| <== Total: 3
  565. 2017-08-10 14:53:49.816 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedItemInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND checked_person = ? ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY m.parent_id
  566. 2017-08-10 14:53:49.816 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedItemInfo [159] -| ==> Parameters: 2156(Long), 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  567. 2017-08-10 14:53:49.853 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedItemInfo [159] -| <== Total: 2
  568. 2017-08-10 14:53:49.853 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  569. 2017-08-10 14:53:49.854 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-05-25 23:00:00.0(Timestamp), 2017-06-25 23:00:00.0(Timestamp)
  570. 2017-08-10 14:53:49.877 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 358
  571. 2017-08-10 14:53:49.879 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  572. 2017-08-10 14:53:49.880 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-06-25 23:00:00.0(Timestamp), 2017-07-25 23:00:00.0(Timestamp)
  573. 2017-08-10 14:53:49.884 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo_COUNT [159] -| <== Total: 1
  574. 2017-08-10 14:53:49.886 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo [159] -| ==> Preparing: SELECT t.name AS check_task_name , t.start_time AS start_date , t.end_time AS end_date,cs.check_item_score AS score , ci.name AS name,ci.parent_name, cs.pics ,t.checkman AS checkman_id, t.checked_person AS user_id ,t.checked_dept AS dept_id FROM v_check_task t LEFT JOIN check_score cs ON t.id = cs.task_id LEFT JOIN (SELECT ci.* ,cp.name AS parent_name FROM check_item ci LEFT JOIN check_item cp ON ci.parent_id = cp.id) ci ON ci.id = cs.check_item_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND (cs.checked_person = ? OR t.monitor_user_id = ? ) AND t.start_time >= ? AND t.end_time < ? AND cs.check_item_score IS NOT NULL limit ?,?
  575. 2017-08-10 14:53:49.887 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo [159] -| ==> Parameters: 2156(Long), 2156(Long), 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 0(Integer), 10(Integer)
  576. 2017-08-10 14:53:49.916 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 0
  577. 2017-08-10 14:53:49.918 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  578. 2017-08-10 14:53:49.918 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-06-25 23:00:00.0(Timestamp), 2017-07-25 23:00:00.0(Timestamp)
  579. 2017-08-10 14:53:49.943 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 526
  580. 2017-08-10 14:53:49.945 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  581. 2017-08-10 14:53:49.945 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  582. 2017-08-10 14:53:49.975 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 0
  583. 2017-08-10 14:53:49.977 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  584. 2017-08-10 14:53:49.977 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  585. 2017-08-10 14:53:50.017 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectOneCheckedDetailInfo [159] -| <== Total: 3
  586. 2017-08-10 14:53:50.058 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  587. 2017-08-10 14:53:50.060 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  588. 2017-08-10 14:53:50.060 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-06-25 23:00:00.0(Timestamp), 2017-07-25 23:00:00.0(Timestamp)
  589. 2017-08-10 14:53:50.115 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 0
  590. 2017-08-10 14:53:50.116 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  591. 2017-08-10 14:53:50.117 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  592. 2017-08-10 14:53:50.161 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  593. 2017-08-10 14:53:50.165 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  594. 2017-08-10 14:53:50.166 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  595. 2017-08-10 14:53:50.217 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 222
  596. 2017-08-10 14:53:50.218 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  597. 2017-08-10 14:53:50.219 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  598. 2017-08-10 14:53:50.298 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  599. 2017-08-10 14:53:50.301 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  600. 2017-08-10 14:53:50.301 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  601. 2017-08-10 14:53:50.385 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  602. 2017-08-10 14:53:50.386 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  603. 2017-08-10 14:53:50.387 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  604. 2017-08-10 14:53:50.641 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  605. 2017-08-10 14:53:51.051 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  606. 2017-08-10 14:53:51.065 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  607. 2017-08-10 14:53:51.066 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  608. 2017-08-10 14:53:51.102 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  609. 2017-08-10 14:55:48.256 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  610. 2017-08-10 14:55:48.261 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  611. 2017-08-10 14:55:48.261 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  612. 2017-08-10 14:55:48.261 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  613. 2017-08-10 14:55:48.261 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  614. 2017-08-10 14:55:48.261 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  615. 2017-08-10 14:55:48.386 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  616. 2017-08-10 14:55:48.386 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  617. 2017-08-10 14:55:48.398 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  618. 2017-08-10 14:55:48.399 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  619. 2017-08-10 14:55:48.415 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  620. 2017-08-10 14:55:48.415 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  621. 2017-08-10 14:55:48.415 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  622. 2017-08-10 14:55:48.416 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  623. 2017-08-10 14:55:48.416 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  624. 2017-08-10 14:55:48.428 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  625. 2017-08-10 14:55:48.428 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  626. 2017-08-10 14:55:48.429 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  627. 2017-08-10 14:55:48.445 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  628. 2017-08-10 14:55:48.446 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  629. 2017-08-10 14:55:48.447 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  630. 2017-08-10 14:55:48.447 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  631. 2017-08-10 14:55:48.448 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  632. 2017-08-10 14:55:48.458 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  633. 2017-08-10 14:55:48.463 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  634. 2017-08-10 14:55:48.470 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  635. 2017-08-10 14:55:48.471 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  636. 2017-08-10 14:55:48.475 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  637. 2017-08-10 14:55:48.475 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  638. 2017-08-10 14:55:48.479 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  639. 2017-08-10 14:55:48.485 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  640. 2017-08-10 14:55:48.486 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  641. 2017-08-10 14:55:48.486 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  642. 2017-08-10 14:55:48.507 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  643. 2017-08-10 14:55:48.508 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  644. 2017-08-10 14:55:48.508 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  645. 2017-08-10 14:55:48.515 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  646. 2017-08-10 14:55:48.515 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  647. 2017-08-10 14:55:48.516 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  648. 2017-08-10 14:55:48.517 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  649. 2017-08-10 14:55:48.518 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  650. 2017-08-10 14:55:48.524 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  651. 2017-08-10 14:55:48.524 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  652. 2017-08-10 14:55:48.524 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  653. 2017-08-10 14:55:48.537 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  654. 2017-08-10 14:55:48.538 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  655. 2017-08-10 14:55:48.538 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  656. 2017-08-10 14:55:48.543 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  657. 2017-08-10 14:55:48.543 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  658. 2017-08-10 14:55:48.544 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  659. 2017-08-10 14:55:48.566 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  660. 2017-08-10 14:55:48.566 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  661. 2017-08-10 14:55:48.567 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  662. 2017-08-10 14:55:48.567 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  663. 2017-08-10 14:55:48.567 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  664. 2017-08-10 14:55:48.568 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  665. 2017-08-10 14:55:48.569 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  666. 2017-08-10 14:55:48.569 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  667. 2017-08-10 14:55:48.591 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  668. 2017-08-10 14:55:48.592 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  669. 2017-08-10 14:55:48.594 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  670. 2017-08-10 14:55:48.594 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  671. 2017-08-10 14:55:48.598 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  672. 2017-08-10 14:55:48.600 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  673. 2017-08-10 14:55:48.609 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  674. 2017-08-10 14:55:48.611 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  675. 2017-08-10 14:55:48.611 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  676. 2017-08-10 14:55:48.612 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  677. 2017-08-10 14:55:48.614 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  678. 2017-08-10 14:55:48.615 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  679. 2017-08-10 14:55:48.615 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  680. 2017-08-10 14:55:48.615 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  681. 2017-08-10 14:55:48.615 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  682. 2017-08-10 14:55:48.616 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  683. 2017-08-10 14:55:48.618 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  684. 2017-08-10 14:55:48.619 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  685. 2017-08-10 14:55:48.624 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  686. 2017-08-10 14:55:48.627 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  687. 2017-08-10 14:55:48.627 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  688. 2017-08-10 14:55:48.632 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  689. 2017-08-10 14:55:48.633 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  690. 2017-08-10 14:55:48.636 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  691. 2017-08-10 14:55:48.636 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  692. 2017-08-10 14:55:48.640 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  693. 2017-08-10 14:55:48.641 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  694. 2017-08-10 14:55:48.644 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  695. 2017-08-10 14:55:48.644 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  696. 2017-08-10 14:55:48.650 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  697. 2017-08-10 14:55:48.654 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  698. 2017-08-10 14:55:48.703 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  699. 2017-08-10 14:55:48.704 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  700. 2017-08-10 14:55:48.705 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  701. 2017-08-10 14:55:48.768 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  702. 2017-08-10 14:55:48.769 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  703. 2017-08-10 14:55:48.770 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  704. 2017-08-10 14:55:48.771 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  705. 2017-08-10 14:55:48.771 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  706. 2017-08-10 14:55:48.772 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  707. 2017-08-10 14:55:48.772 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  708. 2017-08-10 14:55:48.773 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  709. 2017-08-10 14:55:48.804 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  710. 2017-08-10 14:55:48.806 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  711. 2017-08-10 14:55:48.807 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  712. 2017-08-10 14:55:48.807 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  713. 2017-08-10 14:55:48.808 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  714. 2017-08-10 14:55:48.808 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  715. 2017-08-10 14:55:48.811 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  716. 2017-08-10 14:55:48.837 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  717. 2017-08-10 14:55:48.838 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  718. 2017-08-10 14:55:48.839 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  719. 2017-08-10 14:55:48.840 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  720. 2017-08-10 14:55:48.841 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  721. 2017-08-10 14:55:48.851 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  722. 2017-08-10 14:55:48.884 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 222
  723. 2017-08-10 14:55:48.886 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  724. 2017-08-10 14:55:48.886 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  725. 2017-08-10 14:55:48.946 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  726. 2017-08-10 14:55:48.948 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  727. 2017-08-10 14:55:48.948 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  728. 2017-08-10 14:55:49.050 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  729. 2017-08-10 14:55:49.052 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  730. 2017-08-10 14:55:49.052 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  731. 2017-08-10 14:55:49.729 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  732. 2017-08-10 14:55:49.748 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  733. 2017-08-10 14:55:49.748 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  734. 2017-08-10 14:55:49.776 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  735. 2017-08-10 14:55:49.779 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  736. 2017-08-10 14:55:49.780 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  737. 2017-08-10 14:55:50.042 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  738. 2017-08-10 15:00:55.743 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  739. 2017-08-10 15:00:55.743 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  740. 2017-08-10 15:00:55.962 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  741. 2017-08-10 15:00:55.963 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  742. 2017-08-10 15:00:55.967 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  743. 2017-08-10 15:00:55.968 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  744. 2017-08-10 15:00:55.990 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  745. 2017-08-10 15:00:55.996 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  746. 2017-08-10 15:00:56.017 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  747. 2017-08-10 15:00:56.017 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  748. 2017-08-10 15:00:56.022 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  749. 2017-08-10 15:00:56.023 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  750. 2017-08-10 15:00:56.047 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  751. 2017-08-10 15:00:56.048 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  752. 2017-08-10 15:00:56.048 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  753. 2017-08-10 15:00:56.051 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  754. 2017-08-10 15:00:56.051 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  755. 2017-08-10 15:00:56.052 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  756. 2017-08-10 15:00:56.076 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  757. 2017-08-10 15:00:56.077 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  758. 2017-08-10 15:00:56.123 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  759. 2017-08-10 15:00:56.125 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  760. 2017-08-10 15:00:56.132 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  761. 2017-08-10 15:00:56.133 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  762. 2017-08-10 15:00:56.158 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  763. 2017-08-10 15:00:56.159 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  764. 2017-08-10 15:00:56.189 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  765. 2017-08-10 15:00:56.191 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  766. 2017-08-10 15:00:56.192 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  767. 2017-08-10 15:00:56.229 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  768. 2017-08-10 15:00:56.272 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  769. 2017-08-10 15:00:56.272 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  770. 2017-08-10 15:00:56.301 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  771. 2017-08-10 15:00:56.302 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  772. 2017-08-10 15:00:56.303 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  773. 2017-08-10 15:00:56.304 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  774. 2017-08-10 15:00:56.331 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  775. 2017-08-10 15:00:56.332 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  776. 2017-08-10 15:00:56.333 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  777. 2017-08-10 15:00:56.340 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  778. 2017-08-10 15:00:56.341 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  779. 2017-08-10 15:00:56.341 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  780. 2017-08-10 15:00:56.369 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  781. 2017-08-10 15:00:56.370 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  782. 2017-08-10 15:00:56.370 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  783. 2017-08-10 15:00:56.378 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  784. 2017-08-10 15:00:56.379 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  785. 2017-08-10 15:00:56.379 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  786. 2017-08-10 15:00:56.402 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  787. 2017-08-10 15:00:56.407 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  788. 2017-08-10 15:00:56.437 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  789. 2017-08-10 15:00:56.438 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  790. 2017-08-10 15:00:56.439 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  791. 2017-08-10 15:00:56.439 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  792. 2017-08-10 15:00:56.448 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  793. 2017-08-10 15:00:56.449 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  794. 2017-08-10 15:00:56.450 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  795. 2017-08-10 15:00:56.451 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  796. 2017-08-10 15:00:56.481 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  797. 2017-08-10 15:00:56.489 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  798. 2017-08-10 15:00:56.489 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  799. 2017-08-10 15:00:56.522 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  800. 2017-08-10 15:00:56.522 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  801. 2017-08-10 15:00:56.559 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  802. 2017-08-10 15:00:56.560 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  803. 2017-08-10 15:00:56.560 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  804. 2017-08-10 15:00:56.600 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  805. 2017-08-10 15:00:56.601 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  806. 2017-08-10 15:00:56.601 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  807. 2017-08-10 15:00:56.633 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  808. 2017-08-10 15:00:56.667 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  809. 2017-08-10 15:00:56.668 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  810. 2017-08-10 15:00:56.671 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  811. 2017-08-10 15:00:56.672 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  812. 2017-08-10 15:00:56.778 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  813. 2017-08-10 15:00:56.805 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  814. 2017-08-10 15:00:56.836 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  815. 2017-08-10 15:00:56.837 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  816. 2017-08-10 15:00:56.879 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  817. 2017-08-10 15:00:56.880 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  818. 2017-08-10 15:00:56.881 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  819. 2017-08-10 15:00:56.917 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  820. 2017-08-10 15:00:56.918 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  821. 2017-08-10 15:00:56.919 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  822. 2017-08-10 15:00:56.946 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  823. 2017-08-10 15:00:56.979 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  824. 2017-08-10 15:00:56.981 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  825. 2017-08-10 15:00:56.984 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  826. 2017-08-10 15:00:56.984 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  827. 2017-08-10 15:00:57.014 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  828. 2017-08-10 15:00:57.094 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  829. 2017-08-10 15:00:57.094 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  830. 2017-08-10 15:00:57.123 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  831. 2017-08-10 15:00:57.123 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  832. 2017-08-10 15:00:57.126 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  833. 2017-08-10 15:00:57.126 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  834. 2017-08-10 15:00:57.133 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  835. 2017-08-10 15:00:57.133 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  836. 2017-08-10 15:00:57.133 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  837. 2017-08-10 15:00:57.133 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  838. 2017-08-10 15:00:57.149 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  839. 2017-08-10 15:00:57.150 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  840. 2017-08-10 15:00:57.150 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  841. 2017-08-10 15:00:57.155 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  842. 2017-08-10 15:00:57.155 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  843. 2017-08-10 15:00:57.155 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  844. 2017-08-10 15:00:57.163 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  845. 2017-08-10 15:00:57.163 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  846. 2017-08-10 15:00:57.166 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  847. 2017-08-10 15:00:57.166 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  848. 2017-08-10 15:00:57.188 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  849. 2017-08-10 15:00:57.189 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  850. 2017-08-10 15:00:57.189 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  851. 2017-08-10 15:00:57.192 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  852. 2017-08-10 15:00:57.194 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  853. 2017-08-10 15:00:57.195 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  854. 2017-08-10 15:00:57.195 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  855. 2017-08-10 15:00:57.211 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  856. 2017-08-10 15:00:57.215 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  857. 2017-08-10 15:00:57.218 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  858. 2017-08-10 15:00:57.219 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  859. 2017-08-10 15:00:57.219 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  860. 2017-08-10 15:00:57.236 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  861. 2017-08-10 15:00:57.237 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  862. 2017-08-10 15:00:57.246 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  863. 2017-08-10 15:00:57.247 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  864. 2017-08-10 15:00:57.250 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  865. 2017-08-10 15:00:57.251 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  866. 2017-08-10 15:00:57.253 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  867. 2017-08-10 15:00:57.253 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  868. 2017-08-10 15:00:57.253 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  869. 2017-08-10 15:00:57.254 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  870. 2017-08-10 15:00:57.254 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  871. 2017-08-10 15:00:57.260 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  872. 2017-08-10 15:00:57.261 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  873. 2017-08-10 15:00:57.266 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  874. 2017-08-10 15:00:57.267 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  875. 2017-08-10 15:00:57.267 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  876. 2017-08-10 15:00:57.281 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  877. 2017-08-10 15:00:57.281 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  878. 2017-08-10 15:00:57.282 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  879. 2017-08-10 15:00:57.282 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  880. 2017-08-10 15:00:57.282 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  881. 2017-08-10 15:00:57.284 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  882. 2017-08-10 15:00:57.284 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  883. 2017-08-10 15:00:57.285 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  884. 2017-08-10 15:00:57.285 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  885. 2017-08-10 15:00:57.288 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  886. 2017-08-10 15:00:57.288 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  887. 2017-08-10 15:00:57.293 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  888. 2017-08-10 15:00:57.309 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  889. 2017-08-10 15:00:57.311 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  890. 2017-08-10 15:00:57.313 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  891. 2017-08-10 15:00:57.313 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  892. 2017-08-10 15:00:57.313 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  893. 2017-08-10 15:00:57.314 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  894. 2017-08-10 15:00:57.314 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  895. 2017-08-10 15:00:57.317 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  896. 2017-08-10 15:00:57.317 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  897. 2017-08-10 15:00:57.318 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  898. 2017-08-10 15:00:57.318 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  899. 2017-08-10 15:00:57.336 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  900. 2017-08-10 15:00:57.337 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  901. 2017-08-10 15:00:57.342 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  902. 2017-08-10 15:00:57.343 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  903. 2017-08-10 15:00:57.344 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  904. 2017-08-10 15:00:57.344 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  905. 2017-08-10 15:00:57.345 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  906. 2017-08-10 15:00:57.345 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  907. 2017-08-10 15:00:57.345 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  908. 2017-08-10 15:00:57.345 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  909. 2017-08-10 15:00:57.346 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  910. 2017-08-10 15:00:57.346 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  911. 2017-08-10 15:00:57.346 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  912. 2017-08-10 15:00:57.375 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  913. 2017-08-10 15:00:57.388 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  914. 2017-08-10 15:00:57.390 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  915. 2017-08-10 15:00:57.393 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  916. 2017-08-10 15:00:57.393 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  917. 2017-08-10 15:00:57.396 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 222
  918. 2017-08-10 15:00:57.398 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  919. 2017-08-10 15:00:57.398 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  920. 2017-08-10 15:00:57.402 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  921. 2017-08-10 15:00:57.405 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  922. 2017-08-10 15:00:57.406 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  923. 2017-08-10 15:00:57.407 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  924. 2017-08-10 15:00:57.407 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  925. 2017-08-10 15:00:57.437 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  926. 2017-08-10 15:00:57.439 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  927. 2017-08-10 15:00:57.439 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  928. 2017-08-10 15:00:57.456 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  929. 2017-08-10 15:00:57.458 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  930. 2017-08-10 15:00:57.458 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  931. 2017-08-10 15:00:57.471 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  932. 2017-08-10 15:00:57.471 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  933. 2017-08-10 15:00:57.472 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  934. 2017-08-10 15:00:57.495 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  935. 2017-08-10 15:00:57.498 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  936. 2017-08-10 15:00:57.498 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  937. 2017-08-10 15:00:57.507 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  938. 2017-08-10 15:00:57.528 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  939. 2017-08-10 15:00:57.552 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  940. 2017-08-10 15:00:57.553 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  941. 2017-08-10 15:00:57.553 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  942. 2017-08-10 15:00:57.554 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  943. 2017-08-10 15:00:57.554 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  944. 2017-08-10 15:00:57.554 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  945. 2017-08-10 15:00:57.555 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  946. 2017-08-10 15:00:57.585 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  947. 2017-08-10 15:00:57.586 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  948. 2017-08-10 15:00:57.587 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  949. 2017-08-10 15:00:57.617 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  950. 2017-08-10 15:00:58.218 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  951. 2017-08-10 15:00:58.235 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  952. 2017-08-10 15:00:58.235 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  953. 2017-08-10 15:00:58.265 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  954. 2017-08-10 15:00:58.268 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  955. 2017-08-10 15:00:58.268 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  956. 2017-08-10 15:00:58.526 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  957. 2017-08-10 15:03:27.672 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  958. 2017-08-10 15:03:27.672 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  959. 2017-08-10 15:03:27.814 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  960. 2017-08-10 15:03:27.814 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  961. 2017-08-10 15:03:27.828 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  962. 2017-08-10 15:03:27.828 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  963. 2017-08-10 15:03:27.844 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  964. 2017-08-10 15:03:27.859 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  965. 2017-08-10 15:03:27.879 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  966. 2017-08-10 15:03:27.880 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  967. 2017-08-10 15:03:27.893 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  968. 2017-08-10 15:03:27.894 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  969. 2017-08-10 15:03:27.930 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  970. 2017-08-10 15:03:27.931 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  971. 2017-08-10 15:03:27.931 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  972. 2017-08-10 15:03:27.966 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  973. 2017-08-10 15:03:27.967 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  974. 2017-08-10 15:03:27.967 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  975. 2017-08-10 15:03:27.973 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  976. 2017-08-10 15:03:28.023 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  977. 2017-08-10 15:03:28.064 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  978. 2017-08-10 15:03:28.065 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  979. 2017-08-10 15:03:28.068 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  980. 2017-08-10 15:03:28.069 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  981. 2017-08-10 15:03:28.099 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  982. 2017-08-10 15:03:28.099 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  983. 2017-08-10 15:03:28.169 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  984. 2017-08-10 15:03:28.170 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  985. 2017-08-10 15:03:28.171 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  986. 2017-08-10 15:03:28.221 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  987. 2017-08-10 15:03:28.263 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  988. 2017-08-10 15:03:28.263 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  989. 2017-08-10 15:03:28.302 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  990. 2017-08-10 15:03:28.302 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  991. 2017-08-10 15:03:28.308 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  992. 2017-08-10 15:03:28.309 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  993. 2017-08-10 15:03:28.338 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  994. 2017-08-10 15:03:28.339 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  995. 2017-08-10 15:03:28.339 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  996. 2017-08-10 15:03:28.342 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  997. 2017-08-10 15:03:28.343 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  998. 2017-08-10 15:03:28.343 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  999. 2017-08-10 15:03:28.385 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1000. 2017-08-10 15:03:28.386 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1001. 2017-08-10 15:03:28.387 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1002. 2017-08-10 15:03:28.390 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1003. 2017-08-10 15:03:28.391 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1004. 2017-08-10 15:03:28.392 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1005. 2017-08-10 15:03:28.423 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1006. 2017-08-10 15:03:28.435 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1007. 2017-08-10 15:03:28.464 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1008. 2017-08-10 15:03:28.465 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1009. 2017-08-10 15:03:28.466 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1010. 2017-08-10 15:03:28.466 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1011. 2017-08-10 15:03:28.483 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1012. 2017-08-10 15:03:28.484 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1013. 2017-08-10 15:03:28.485 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  1014. 2017-08-10 15:03:28.486 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  1015. 2017-08-10 15:03:28.496 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1016. 2017-08-10 15:03:28.504 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1017. 2017-08-10 15:03:28.525 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  1018. 2017-08-10 15:03:28.540 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1019. 2017-08-10 15:03:28.541 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1020. 2017-08-10 15:03:28.572 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1021. 2017-08-10 15:03:28.573 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1022. 2017-08-10 15:03:28.574 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1023. 2017-08-10 15:03:28.608 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1024. 2017-08-10 15:03:28.609 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1025. 2017-08-10 15:03:28.609 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1026. 2017-08-10 15:03:28.636 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1027. 2017-08-10 15:03:28.675 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1028. 2017-08-10 15:03:28.676 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1029. 2017-08-10 15:03:28.680 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1030. 2017-08-10 15:03:28.681 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1031. 2017-08-10 15:03:28.796 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  1032. 2017-08-10 15:03:28.821 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1033. 2017-08-10 15:03:28.851 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1034. 2017-08-10 15:03:28.851 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1035. 2017-08-10 15:03:28.880 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1036. 2017-08-10 15:03:28.881 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1037. 2017-08-10 15:03:28.882 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1038. 2017-08-10 15:03:28.910 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1039. 2017-08-10 15:03:28.911 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1040. 2017-08-10 15:03:28.911 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1041. 2017-08-10 15:03:28.938 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1042. 2017-08-10 15:03:28.969 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1043. 2017-08-10 15:03:28.970 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1044. 2017-08-10 15:03:28.973 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  1045. 2017-08-10 15:03:28.973 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  1046. 2017-08-10 15:03:29.009 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  1047. 2017-08-10 15:03:29.107 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1048. 2017-08-10 15:03:29.107 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1049. 2017-08-10 15:03:29.109 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1050. 2017-08-10 15:03:29.110 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1051. 2017-08-10 15:03:29.110 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1052. 2017-08-10 15:03:29.110 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1053. 2017-08-10 15:03:29.137 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1054. 2017-08-10 15:03:29.137 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1055. 2017-08-10 15:03:29.146 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1056. 2017-08-10 15:03:29.146 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1057. 2017-08-10 15:03:29.167 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1058. 2017-08-10 15:03:29.168 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1059. 2017-08-10 15:03:29.168 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1060. 2017-08-10 15:03:29.176 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1061. 2017-08-10 15:03:29.176 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1062. 2017-08-10 15:03:29.177 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1063. 2017-08-10 15:03:29.197 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1064. 2017-08-10 15:03:29.198 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1065. 2017-08-10 15:03:29.198 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1066. 2017-08-10 15:03:29.215 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1067. 2017-08-10 15:03:29.215 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1068. 2017-08-10 15:03:29.221 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1069. 2017-08-10 15:03:29.222 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1070. 2017-08-10 15:03:29.222 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1071. 2017-08-10 15:03:29.222 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1072. 2017-08-10 15:03:29.223 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1073. 2017-08-10 15:03:29.223 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1074. 2017-08-10 15:03:29.244 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1075. 2017-08-10 15:03:29.244 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1076. 2017-08-10 15:03:29.245 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1077. 2017-08-10 15:03:29.252 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1078. 2017-08-10 15:03:29.261 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1079. 2017-08-10 15:03:29.261 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1080. 2017-08-10 15:03:29.267 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1081. 2017-08-10 15:03:29.268 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1082. 2017-08-10 15:03:29.270 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1083. 2017-08-10 15:03:29.270 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1084. 2017-08-10 15:03:29.270 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1085. 2017-08-10 15:03:29.272 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1086. 2017-08-10 15:03:29.273 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1087. 2017-08-10 15:03:29.273 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1088. 2017-08-10 15:03:29.273 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1089. 2017-08-10 15:03:29.273 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1090. 2017-08-10 15:03:29.289 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1091. 2017-08-10 15:03:29.290 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1092. 2017-08-10 15:03:29.291 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1093. 2017-08-10 15:03:29.297 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1094. 2017-08-10 15:03:29.297 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1095. 2017-08-10 15:03:29.299 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1096. 2017-08-10 15:03:29.300 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1097. 2017-08-10 15:03:29.303 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  1098. 2017-08-10 15:03:29.304 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1099. 2017-08-10 15:03:29.313 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1100. 2017-08-10 15:03:29.314 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1101. 2017-08-10 15:03:29.315 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1102. 2017-08-10 15:03:29.317 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1103. 2017-08-10 15:03:29.317 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1104. 2017-08-10 15:03:29.334 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1105. 2017-08-10 15:03:29.335 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1106. 2017-08-10 15:03:29.335 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1107. 2017-08-10 15:03:29.341 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1108. 2017-08-10 15:03:29.342 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1109. 2017-08-10 15:03:29.342 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1110. 2017-08-10 15:03:29.342 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1111. 2017-08-10 15:03:29.343 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1112. 2017-08-10 15:03:29.364 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1113. 2017-08-10 15:03:29.373 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1114. 2017-08-10 15:03:29.374 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1115. 2017-08-10 15:03:29.376 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1116. 2017-08-10 15:03:29.376 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1117. 2017-08-10 15:03:29.377 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1118. 2017-08-10 15:03:29.379 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1119. 2017-08-10 15:03:29.385 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1120. 2017-08-10 15:03:29.394 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  1121. 2017-08-10 15:03:29.394 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1122. 2017-08-10 15:03:29.413 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1123. 2017-08-10 15:03:29.414 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1124. 2017-08-10 15:03:29.418 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1125. 2017-08-10 15:03:29.418 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1126. 2017-08-10 15:03:29.419 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1127. 2017-08-10 15:03:29.419 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1128. 2017-08-10 15:03:29.420 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1129. 2017-08-10 15:03:29.420 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1130. 2017-08-10 15:03:29.421 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1131. 2017-08-10 15:03:29.422 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1132. 2017-08-10 15:03:29.433 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  1133. 2017-08-10 15:03:29.449 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1134. 2017-08-10 15:03:29.451 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  1135. 2017-08-10 15:03:29.453 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  1136. 2017-08-10 15:03:29.453 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1137. 2017-08-10 15:03:29.456 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1138. 2017-08-10 15:03:29.458 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1139. 2017-08-10 15:03:29.458 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1140. 2017-08-10 15:03:29.479 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  1141. 2017-08-10 15:03:29.482 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1142. 2017-08-10 15:03:29.483 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1143. 2017-08-10 15:03:29.485 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1144. 2017-08-10 15:03:29.485 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1145. 2017-08-10 15:03:29.496 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 222
  1146. 2017-08-10 15:03:29.497 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  1147. 2017-08-10 15:03:29.498 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1148. 2017-08-10 15:03:29.517 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 80
  1149. 2017-08-10 15:03:29.519 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1150. 2017-08-10 15:03:29.520 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  1151. 2017-08-10 15:03:29.557 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  1152. 2017-08-10 15:03:29.559 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1153. 2017-08-10 15:03:29.560 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1154. 2017-08-10 15:03:29.589 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1155. 2017-08-10 15:03:29.590 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  1156. 2017-08-10 15:03:29.590 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1157. 2017-08-10 15:03:29.590 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1158. 2017-08-10 15:03:29.620 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1159. 2017-08-10 15:03:29.636 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1160. 2017-08-10 15:03:29.637 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1161. 2017-08-10 15:03:29.637 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1162. 2017-08-10 15:03:29.677 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1163. 2017-08-10 15:03:29.679 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1164. 2017-08-10 15:03:29.679 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1165. 2017-08-10 15:03:29.709 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1166. 2017-08-10 15:03:29.719 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  1167. 2017-08-10 15:03:29.720 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  1168. 2017-08-10 15:03:29.721 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1169. 2017-08-10 15:03:30.527 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  1170. 2017-08-10 15:03:30.544 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1171. 2017-08-10 15:03:30.545 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1172. 2017-08-10 15:03:30.573 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1173. 2017-08-10 15:03:30.576 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  1174. 2017-08-10 15:03:30.577 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1175. 2017-08-10 15:03:30.834 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  1176. 2017-08-10 15:05:31.753 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1177. 2017-08-10 15:05:31.753 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1178. 2017-08-10 15:05:31.953 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1179. 2017-08-10 15:05:31.953 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1180. 2017-08-10 15:05:32.009 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1181. 2017-08-10 15:05:32.027 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1182. 2017-08-10 15:05:32.028 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1183. 2017-08-10 15:05:32.035 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1184. 2017-08-10 15:05:32.035 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1185. 2017-08-10 15:05:32.057 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1186. 2017-08-10 15:05:32.065 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1187. 2017-08-10 15:05:32.066 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1188. 2017-08-10 15:05:32.066 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1189. 2017-08-10 15:05:32.091 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1190. 2017-08-10 15:05:32.124 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1191. 2017-08-10 15:05:32.125 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1192. 2017-08-10 15:05:32.189 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1193. 2017-08-10 15:05:32.190 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1194. 2017-08-10 15:05:32.190 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1195. 2017-08-10 15:05:32.208 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1196. 2017-08-10 15:05:32.209 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1197. 2017-08-10 15:05:32.255 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1198. 2017-08-10 15:05:32.341 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1199. 2017-08-10 15:05:32.343 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1200. 2017-08-10 15:05:32.418 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  1201. 2017-08-10 15:05:32.419 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  1202. 2017-08-10 15:05:32.489 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  1203. 2017-08-10 15:05:32.489 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1204. 2017-08-10 15:05:32.490 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1205. 2017-08-10 15:05:32.542 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1206. 2017-08-10 15:05:32.576 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1207. 2017-08-10 15:05:32.576 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1208. 2017-08-10 15:05:32.606 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1209. 2017-08-10 15:05:32.607 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1210. 2017-08-10 15:05:32.628 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1211. 2017-08-10 15:05:32.629 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1212. 2017-08-10 15:05:32.636 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1213. 2017-08-10 15:05:32.636 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1214. 2017-08-10 15:05:32.637 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1215. 2017-08-10 15:05:32.677 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1216. 2017-08-10 15:05:32.678 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1217. 2017-08-10 15:05:32.678 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1218. 2017-08-10 15:05:32.686 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1219. 2017-08-10 15:05:32.687 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1220. 2017-08-10 15:05:32.687 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1221. 2017-08-10 15:05:32.707 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1222. 2017-08-10 15:05:32.707 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1223. 2017-08-10 15:05:32.708 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1224. 2017-08-10 15:05:32.727 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1225. 2017-08-10 15:05:32.733 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1226. 2017-08-10 15:05:32.770 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1227. 2017-08-10 15:05:32.771 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1228. 2017-08-10 15:05:32.773 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  1229. 2017-08-10 15:05:32.773 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  1230. 2017-08-10 15:05:32.776 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1231. 2017-08-10 15:05:32.777 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1232. 2017-08-10 15:05:32.778 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1233. 2017-08-10 15:05:32.778 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1234. 2017-08-10 15:05:32.808 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1235. 2017-08-10 15:05:32.810 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  1236. 2017-08-10 15:05:32.818 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1237. 2017-08-10 15:05:32.847 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1238. 2017-08-10 15:05:32.847 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1239. 2017-08-10 15:05:32.892 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1240. 2017-08-10 15:05:32.893 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1241. 2017-08-10 15:05:32.893 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1242. 2017-08-10 15:05:32.922 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1243. 2017-08-10 15:05:32.923 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1244. 2017-08-10 15:05:32.923 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1245. 2017-08-10 15:05:32.949 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1246. 2017-08-10 15:05:32.989 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1247. 2017-08-10 15:05:32.990 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1248. 2017-08-10 15:05:32.994 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1249. 2017-08-10 15:05:32.994 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1250. 2017-08-10 15:05:34.073 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  1251. 2017-08-10 15:05:34.098 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1252. 2017-08-10 15:05:34.127 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1253. 2017-08-10 15:05:34.128 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1254. 2017-08-10 15:05:34.194 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1255. 2017-08-10 15:05:34.196 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1256. 2017-08-10 15:05:34.196 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1257. 2017-08-10 15:05:34.225 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1258. 2017-08-10 15:05:34.226 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1259. 2017-08-10 15:05:34.226 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1260. 2017-08-10 15:05:34.251 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1261. 2017-08-10 15:05:34.295 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1262. 2017-08-10 15:05:34.296 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1263. 2017-08-10 15:05:34.300 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  1264. 2017-08-10 15:05:34.300 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  1265. 2017-08-10 15:05:34.337 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  1266. 2017-08-10 15:05:34.434 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1267. 2017-08-10 15:05:34.434 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1268. 2017-08-10 15:05:34.436 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1269. 2017-08-10 15:05:34.436 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1270. 2017-08-10 15:05:34.437 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1271. 2017-08-10 15:05:34.437 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1272. 2017-08-10 15:05:34.464 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1273. 2017-08-10 15:05:34.464 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1274. 2017-08-10 15:05:34.504 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1275. 2017-08-10 15:05:34.504 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1276. 2017-08-10 15:05:34.524 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1277. 2017-08-10 15:05:34.525 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1278. 2017-08-10 15:05:34.525 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1279. 2017-08-10 15:05:34.534 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1280. 2017-08-10 15:05:34.534 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1281. 2017-08-10 15:05:34.535 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1282. 2017-08-10 15:05:34.544 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1283. 2017-08-10 15:05:34.545 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1284. 2017-08-10 15:05:34.546 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1285. 2017-08-10 15:05:34.546 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1286. 2017-08-10 15:05:34.555 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1287. 2017-08-10 15:05:34.556 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1288. 2017-08-10 15:05:34.556 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1289. 2017-08-10 15:05:34.574 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1290. 2017-08-10 15:05:34.575 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1291. 2017-08-10 15:05:34.575 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1292. 2017-08-10 15:05:34.576 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1293. 2017-08-10 15:05:34.577 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1294. 2017-08-10 15:05:34.577 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1295. 2017-08-10 15:05:34.582 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1296. 2017-08-10 15:05:34.586 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1297. 2017-08-10 15:05:34.587 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1298. 2017-08-10 15:05:34.587 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1299. 2017-08-10 15:05:34.590 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1300. 2017-08-10 15:05:34.590 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1301. 2017-08-10 15:05:34.604 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1302. 2017-08-10 15:05:34.615 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1303. 2017-08-10 15:05:34.616 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1304. 2017-08-10 15:05:34.616 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1305. 2017-08-10 15:05:34.618 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1306. 2017-08-10 15:05:34.618 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1307. 2017-08-10 15:05:34.619 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1308. 2017-08-10 15:05:34.621 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1309. 2017-08-10 15:05:34.626 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1310. 2017-08-10 15:05:34.627 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1311. 2017-08-10 15:05:34.630 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1312. 2017-08-10 15:05:34.630 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1313. 2017-08-10 15:05:34.631 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1314. 2017-08-10 15:05:34.631 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1315. 2017-08-10 15:05:34.642 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1316. 2017-08-10 15:05:34.645 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1317. 2017-08-10 15:05:34.645 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1318. 2017-08-10 15:05:34.661 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1319. 2017-08-10 15:05:34.661 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1320. 2017-08-10 15:05:34.662 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1321. 2017-08-10 15:05:34.662 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1322. 2017-08-10 15:05:34.662 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1323. 2017-08-10 15:05:34.663 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1324. 2017-08-10 15:05:34.663 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1325. 2017-08-10 15:05:34.664 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1326. 2017-08-10 15:05:34.665 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1327. 2017-08-10 15:05:34.665 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  1328. 2017-08-10 15:05:34.665 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1329. 2017-08-10 15:05:34.666 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1330. 2017-08-10 15:05:34.666 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1331. 2017-08-10 15:05:34.678 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1332. 2017-08-10 15:05:34.679 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1333. 2017-08-10 15:05:34.679 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1334. 2017-08-10 15:05:34.689 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1335. 2017-08-10 15:05:34.690 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1336. 2017-08-10 15:05:34.692 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1337. 2017-08-10 15:05:34.693 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1338. 2017-08-10 15:05:34.693 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1339. 2017-08-10 15:05:34.697 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1340. 2017-08-10 15:05:34.699 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  1341. 2017-08-10 15:05:34.700 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1342. 2017-08-10 15:05:34.706 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1343. 2017-08-10 15:05:34.709 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1344. 2017-08-10 15:05:34.724 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1345. 2017-08-10 15:05:34.724 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  1346. 2017-08-10 15:05:34.725 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1347. 2017-08-10 15:05:34.726 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  1348. 2017-08-10 15:05:34.727 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1349. 2017-08-10 15:05:34.727 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1350. 2017-08-10 15:05:34.728 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1351. 2017-08-10 15:05:34.749 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1352. 2017-08-10 15:05:34.749 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1353. 2017-08-10 15:05:34.750 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1354. 2017-08-10 15:05:34.750 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1355. 2017-08-10 15:05:34.752 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1356. 2017-08-10 15:05:34.753 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1357. 2017-08-10 15:05:34.754 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1358. 2017-08-10 15:05:34.754 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1359. 2017-08-10 15:05:34.769 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  1360. 2017-08-10 15:05:34.770 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 223
  1361. 2017-08-10 15:05:34.772 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  1362. 2017-08-10 15:05:34.772 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1363. 2017-08-10 15:05:34.782 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1364. 2017-08-10 15:05:34.784 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1365. 2017-08-10 15:05:34.784 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1366. 2017-08-10 15:05:34.827 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  1367. 2017-08-10 15:05:34.830 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1368. 2017-08-10 15:05:34.830 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1369. 2017-08-10 15:05:34.841 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  1370. 2017-08-10 15:05:34.843 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1371. 2017-08-10 15:05:34.844 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  1372. 2017-08-10 15:05:34.904 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  1373. 2017-08-10 15:05:34.910 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1374. 2017-08-10 15:05:34.911 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1375. 2017-08-10 15:05:34.911 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1376. 2017-08-10 15:05:34.930 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  1377. 2017-08-10 15:05:34.931 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  1378. 2017-08-10 15:05:34.932 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1379. 2017-08-10 15:05:34.935 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1380. 2017-08-10 15:05:34.936 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1381. 2017-08-10 15:05:34.937 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1382. 2017-08-10 15:05:34.938 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  1383. 2017-08-10 15:05:34.940 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1384. 2017-08-10 15:05:34.942 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1385. 2017-08-10 15:05:34.942 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1386. 2017-08-10 15:05:34.966 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1387. 2017-08-10 15:05:34.971 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1388. 2017-08-10 15:05:35.561 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  1389. 2017-08-10 15:05:35.581 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1390. 2017-08-10 15:05:35.582 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1391. 2017-08-10 15:05:35.612 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1392. 2017-08-10 15:05:35.615 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  1393. 2017-08-10 15:05:35.616 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1394. 2017-08-10 15:05:35.873 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  1395. 2017-08-10 15:08:13.836 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1396. 2017-08-10 15:08:13.836 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1397. 2017-08-10 15:08:13.975 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1398. 2017-08-10 15:08:13.976 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1399. 2017-08-10 15:08:14.004 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1400. 2017-08-10 15:08:14.030 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1401. 2017-08-10 15:08:14.030 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1402. 2017-08-10 15:08:14.060 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1403. 2017-08-10 15:08:14.061 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1404. 2017-08-10 15:08:14.061 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1405. 2017-08-10 15:08:14.087 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1406. 2017-08-10 15:08:14.132 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1407. 2017-08-10 15:08:14.133 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1408. 2017-08-10 15:08:14.166 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  1409. 2017-08-10 15:08:14.167 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  1410. 2017-08-10 15:08:14.208 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  1411. 2017-08-10 15:08:14.209 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1412. 2017-08-10 15:08:14.210 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1413. 2017-08-10 15:08:14.243 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1414. 2017-08-10 15:08:14.243 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1415. 2017-08-10 15:08:14.249 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1416. 2017-08-10 15:08:14.271 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1417. 2017-08-10 15:08:14.272 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1418. 2017-08-10 15:08:14.272 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1419. 2017-08-10 15:08:14.286 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1420. 2017-08-10 15:08:14.286 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1421. 2017-08-10 15:08:14.305 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1422. 2017-08-10 15:08:14.306 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1423. 2017-08-10 15:08:14.306 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1424. 2017-08-10 15:08:14.317 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1425. 2017-08-10 15:08:14.317 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1426. 2017-08-10 15:08:14.341 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1427. 2017-08-10 15:08:14.347 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1428. 2017-08-10 15:08:14.348 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1429. 2017-08-10 15:08:14.348 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1430. 2017-08-10 15:08:14.348 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1431. 2017-08-10 15:08:14.348 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1432. 2017-08-10 15:08:14.377 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1433. 2017-08-10 15:08:14.392 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1434. 2017-08-10 15:08:14.393 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1435. 2017-08-10 15:08:14.394 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1436. 2017-08-10 15:08:14.395 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1437. 2017-08-10 15:08:14.395 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1438. 2017-08-10 15:08:14.408 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1439. 2017-08-10 15:08:14.408 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1440. 2017-08-10 15:08:14.444 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1441. 2017-08-10 15:08:14.447 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1442. 2017-08-10 15:08:14.448 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1443. 2017-08-10 15:08:14.448 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1444. 2017-08-10 15:08:14.485 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1445. 2017-08-10 15:08:14.486 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1446. 2017-08-10 15:08:14.487 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1447. 2017-08-10 15:08:14.488 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  1448. 2017-08-10 15:08:14.489 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  1449. 2017-08-10 15:08:14.519 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  1450. 2017-08-10 15:08:14.524 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1451. 2017-08-10 15:08:14.526 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1452. 2017-08-10 15:08:14.527 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1453. 2017-08-10 15:08:14.527 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1454. 2017-08-10 15:08:14.567 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1455. 2017-08-10 15:08:14.574 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1456. 2017-08-10 15:08:14.606 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1457. 2017-08-10 15:08:14.607 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1458. 2017-08-10 15:08:14.638 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1459. 2017-08-10 15:08:14.638 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1460. 2017-08-10 15:08:14.639 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1461. 2017-08-10 15:08:14.672 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1462. 2017-08-10 15:08:14.673 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1463. 2017-08-10 15:08:14.674 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1464. 2017-08-10 15:08:14.704 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1465. 2017-08-10 15:08:14.741 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1466. 2017-08-10 15:08:14.742 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1467. 2017-08-10 15:08:14.747 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1468. 2017-08-10 15:08:14.747 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1469. 2017-08-10 15:08:14.863 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  1470. 2017-08-10 15:08:14.888 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1471. 2017-08-10 15:08:14.925 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1472. 2017-08-10 15:08:14.925 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1473. 2017-08-10 15:08:14.953 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1474. 2017-08-10 15:08:14.954 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1475. 2017-08-10 15:08:14.955 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1476. 2017-08-10 15:08:14.991 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1477. 2017-08-10 15:08:14.992 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1478. 2017-08-10 15:08:14.993 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1479. 2017-08-10 15:08:15.020 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1480. 2017-08-10 15:08:15.951 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1481. 2017-08-10 15:08:15.952 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1482. 2017-08-10 15:08:15.955 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  1483. 2017-08-10 15:08:15.956 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  1484. 2017-08-10 15:08:16.006 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  1485. 2017-08-10 15:08:16.102 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1486. 2017-08-10 15:08:16.104 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1487. 2017-08-10 15:08:16.104 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1488. 2017-08-10 15:08:16.105 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1489. 2017-08-10 15:08:16.105 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1490. 2017-08-10 15:08:16.105 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1491. 2017-08-10 15:08:16.136 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1492. 2017-08-10 15:08:16.136 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1493. 2017-08-10 15:08:16.153 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1494. 2017-08-10 15:08:16.153 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1495. 2017-08-10 15:08:16.164 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1496. 2017-08-10 15:08:16.165 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1497. 2017-08-10 15:08:16.165 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1498. 2017-08-10 15:08:16.184 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1499. 2017-08-10 15:08:16.185 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1500. 2017-08-10 15:08:16.186 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1501. 2017-08-10 15:08:16.215 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1502. 2017-08-10 15:08:16.215 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1503. 2017-08-10 15:08:16.216 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1504. 2017-08-10 15:08:16.216 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1505. 2017-08-10 15:08:16.216 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1506. 2017-08-10 15:08:16.217 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1507. 2017-08-10 15:08:16.217 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1508. 2017-08-10 15:08:16.218 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1509. 2017-08-10 15:08:16.229 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1510. 2017-08-10 15:08:16.229 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1511. 2017-08-10 15:08:16.243 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1512. 2017-08-10 15:08:16.249 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1513. 2017-08-10 15:08:16.250 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1514. 2017-08-10 15:08:16.250 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1515. 2017-08-10 15:08:16.255 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1516. 2017-08-10 15:08:16.259 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1517. 2017-08-10 15:08:16.259 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1518. 2017-08-10 15:08:16.259 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1519. 2017-08-10 15:08:16.270 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1520. 2017-08-10 15:08:16.271 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1521. 2017-08-10 15:08:16.271 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1522. 2017-08-10 15:08:16.272 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1523. 2017-08-10 15:08:16.279 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1524. 2017-08-10 15:08:16.280 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1525. 2017-08-10 15:08:16.280 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1526. 2017-08-10 15:08:16.291 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1527. 2017-08-10 15:08:16.292 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1528. 2017-08-10 15:08:16.297 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1529. 2017-08-10 15:08:16.298 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1530. 2017-08-10 15:08:16.298 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1531. 2017-08-10 15:08:16.300 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1532. 2017-08-10 15:08:16.300 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1533. 2017-08-10 15:08:16.300 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1534. 2017-08-10 15:08:16.301 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1535. 2017-08-10 15:08:16.302 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1536. 2017-08-10 15:08:16.302 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1537. 2017-08-10 15:08:16.306 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1538. 2017-08-10 15:08:16.324 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1539. 2017-08-10 15:08:16.325 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1540. 2017-08-10 15:08:16.325 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1541. 2017-08-10 15:08:16.325 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1542. 2017-08-10 15:08:16.326 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1543. 2017-08-10 15:08:16.326 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1544. 2017-08-10 15:08:16.329 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1545. 2017-08-10 15:08:16.334 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1546. 2017-08-10 15:08:16.336 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  1547. 2017-08-10 15:08:16.337 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1548. 2017-08-10 15:08:16.349 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1549. 2017-08-10 15:08:16.350 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1550. 2017-08-10 15:08:16.355 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1551. 2017-08-10 15:08:16.355 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1552. 2017-08-10 15:08:16.355 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1553. 2017-08-10 15:08:16.356 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1554. 2017-08-10 15:08:16.357 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1555. 2017-08-10 15:08:16.357 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1556. 2017-08-10 15:08:16.357 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1557. 2017-08-10 15:08:16.358 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1558. 2017-08-10 15:08:16.378 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1559. 2017-08-10 15:08:16.379 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1560. 2017-08-10 15:08:16.381 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1561. 2017-08-10 15:08:16.381 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1562. 2017-08-10 15:08:16.382 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1563. 2017-08-10 15:08:16.385 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1564. 2017-08-10 15:08:16.387 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1565. 2017-08-10 15:08:16.389 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  1566. 2017-08-10 15:08:16.389 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1567. 2017-08-10 15:08:16.411 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1568. 2017-08-10 15:08:16.413 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1569. 2017-08-10 15:08:16.413 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1570. 2017-08-10 15:08:16.414 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1571. 2017-08-10 15:08:16.414 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1572. 2017-08-10 15:08:16.415 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1573. 2017-08-10 15:08:16.416 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1574. 2017-08-10 15:08:16.416 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1575. 2017-08-10 15:08:16.417 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1576. 2017-08-10 15:08:16.456 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1577. 2017-08-10 15:08:16.457 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1578. 2017-08-10 15:08:16.460 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  1579. 2017-08-10 15:08:16.463 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  1580. 2017-08-10 15:08:16.463 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1581. 2017-08-10 15:08:16.499 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  1582. 2017-08-10 15:08:16.502 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  1583. 2017-08-10 15:08:16.504 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1584. 2017-08-10 15:08:16.504 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  1585. 2017-08-10 15:08:16.511 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 223
  1586. 2017-08-10 15:08:16.512 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  1587. 2017-08-10 15:08:16.513 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1588. 2017-08-10 15:08:16.523 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1589. 2017-08-10 15:08:16.524 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1590. 2017-08-10 15:08:16.524 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1591. 2017-08-10 15:08:16.556 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1592. 2017-08-10 15:08:16.558 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1593. 2017-08-10 15:08:16.558 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1594. 2017-08-10 15:08:16.568 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  1595. 2017-08-10 15:08:16.568 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  1596. 2017-08-10 15:08:16.574 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  1597. 2017-08-10 15:08:16.576 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1598. 2017-08-10 15:08:16.577 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1599. 2017-08-10 15:08:16.587 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1600. 2017-08-10 15:08:16.647 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1601. 2017-08-10 15:08:16.647 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1602. 2017-08-10 15:08:16.648 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1603. 2017-08-10 15:08:16.677 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1604. 2017-08-10 15:08:16.680 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  1605. 2017-08-10 15:08:16.681 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  1606. 2017-08-10 15:08:16.682 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1607. 2017-08-10 15:08:17.374 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  1608. 2017-08-10 15:08:17.391 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1609. 2017-08-10 15:08:17.391 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1610. 2017-08-10 15:08:17.449 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1611. 2017-08-10 15:08:17.452 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  1612. 2017-08-10 15:08:17.452 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1613. 2017-08-10 15:08:17.747 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  1614. 2017-08-10 15:08:46.012 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1615. 2017-08-10 15:08:46.013 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1616. 2017-08-10 15:08:46.042 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1617. 2017-08-10 15:08:46.042 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1618. 2017-08-10 15:08:46.045 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1619. 2017-08-10 15:08:46.045 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1620. 2017-08-10 15:08:46.072 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1621. 2017-08-10 15:08:46.073 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1622. 2017-08-10 15:08:46.074 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1623. 2017-08-10 15:08:46.074 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1624. 2017-08-10 15:08:46.075 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1625. 2017-08-10 15:08:46.075 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1626. 2017-08-10 15:08:46.106 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1627. 2017-08-10 15:08:46.107 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1628. 2017-08-10 15:08:46.107 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1629. 2017-08-10 15:08:46.110 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1630. 2017-08-10 15:08:46.111 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1631. 2017-08-10 15:08:46.112 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1632. 2017-08-10 15:08:46.134 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1633. 2017-08-10 15:08:46.144 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1634. 2017-08-10 15:08:46.182 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1635. 2017-08-10 15:08:46.184 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1636. 2017-08-10 15:08:46.186 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1637. 2017-08-10 15:08:46.187 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1638. 2017-08-10 15:08:46.220 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  1639. 2017-08-10 15:08:46.221 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  1640. 2017-08-10 15:08:46.251 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  1641. 2017-08-10 15:08:46.253 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1642. 2017-08-10 15:08:46.253 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1643. 2017-08-10 15:08:46.286 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1644. 2017-08-10 15:08:46.323 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1645. 2017-08-10 15:08:46.323 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1646. 2017-08-10 15:08:46.353 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1647. 2017-08-10 15:08:46.354 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1648. 2017-08-10 15:08:46.356 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1649. 2017-08-10 15:08:46.357 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1650. 2017-08-10 15:08:46.384 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1651. 2017-08-10 15:08:46.386 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1652. 2017-08-10 15:08:46.386 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1653. 2017-08-10 15:08:46.386 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1654. 2017-08-10 15:08:46.387 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1655. 2017-08-10 15:08:46.387 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1656. 2017-08-10 15:08:46.417 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1657. 2017-08-10 15:08:46.417 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1658. 2017-08-10 15:08:46.417 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1659. 2017-08-10 15:08:46.418 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1660. 2017-08-10 15:08:46.418 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1661. 2017-08-10 15:08:46.419 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1662. 2017-08-10 15:08:46.444 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1663. 2017-08-10 15:08:46.445 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1664. 2017-08-10 15:08:46.476 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1665. 2017-08-10 15:08:46.477 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1666. 2017-08-10 15:08:46.477 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1667. 2017-08-10 15:08:46.478 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1668. 2017-08-10 15:08:46.479 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  1669. 2017-08-10 15:08:46.479 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1670. 2017-08-10 15:08:46.479 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  1671. 2017-08-10 15:08:46.480 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1672. 2017-08-10 15:08:46.512 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1673. 2017-08-10 15:08:46.519 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  1674. 2017-08-10 15:08:46.520 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1675. 2017-08-10 15:08:46.552 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1676. 2017-08-10 15:08:46.553 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1677. 2017-08-10 15:08:46.581 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1678. 2017-08-10 15:08:46.582 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1679. 2017-08-10 15:08:46.582 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1680. 2017-08-10 15:08:46.616 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1681. 2017-08-10 15:08:46.617 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1682. 2017-08-10 15:08:46.617 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1683. 2017-08-10 15:08:46.644 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1684. 2017-08-10 15:08:46.678 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1685. 2017-08-10 15:08:46.680 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1686. 2017-08-10 15:08:46.685 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1687. 2017-08-10 15:08:46.685 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1688. 2017-08-10 15:08:46.789 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  1689. 2017-08-10 15:08:46.823 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1690. 2017-08-10 15:08:46.856 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1691. 2017-08-10 15:08:46.856 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1692. 2017-08-10 15:08:46.886 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1693. 2017-08-10 15:08:46.887 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1694. 2017-08-10 15:08:46.888 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1695. 2017-08-10 15:08:46.917 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1696. 2017-08-10 15:08:46.918 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1697. 2017-08-10 15:08:46.919 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1698. 2017-08-10 15:08:46.945 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1699. 2017-08-10 15:08:46.980 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1700. 2017-08-10 15:08:46.981 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1701. 2017-08-10 15:08:46.984 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  1702. 2017-08-10 15:08:46.984 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  1703. 2017-08-10 15:08:47.013 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  1704. 2017-08-10 15:08:47.109 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1705. 2017-08-10 15:08:47.109 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1706. 2017-08-10 15:08:47.111 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1707. 2017-08-10 15:08:47.111 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1708. 2017-08-10 15:08:47.111 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1709. 2017-08-10 15:08:47.111 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1710. 2017-08-10 15:08:47.139 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1711. 2017-08-10 15:08:47.139 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1712. 2017-08-10 15:08:47.142 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1713. 2017-08-10 15:08:47.143 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1714. 2017-08-10 15:08:47.171 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1715. 2017-08-10 15:08:47.171 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1716. 2017-08-10 15:08:47.171 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1717. 2017-08-10 15:08:47.171 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1718. 2017-08-10 15:08:47.171 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1719. 2017-08-10 15:08:47.171 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1720. 2017-08-10 15:08:47.172 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1721. 2017-08-10 15:08:47.174 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1722. 2017-08-10 15:08:47.175 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1723. 2017-08-10 15:08:47.176 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1724. 2017-08-10 15:08:47.177 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1725. 2017-08-10 15:08:47.177 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1726. 2017-08-10 15:08:47.177 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1727. 2017-08-10 15:08:47.177 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1728. 2017-08-10 15:08:47.200 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1729. 2017-08-10 15:08:47.201 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1730. 2017-08-10 15:08:47.201 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1731. 2017-08-10 15:08:47.201 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1732. 2017-08-10 15:08:47.202 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1733. 2017-08-10 15:08:47.203 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1734. 2017-08-10 15:08:47.203 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1735. 2017-08-10 15:08:47.203 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1736. 2017-08-10 15:08:47.204 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1737. 2017-08-10 15:08:47.204 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1738. 2017-08-10 15:08:47.204 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1739. 2017-08-10 15:08:47.204 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1740. 2017-08-10 15:08:47.207 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1741. 2017-08-10 15:08:47.208 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1742. 2017-08-10 15:08:47.208 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1743. 2017-08-10 15:08:47.208 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1744. 2017-08-10 15:08:47.209 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1745. 2017-08-10 15:08:47.209 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1746. 2017-08-10 15:08:47.231 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1747. 2017-08-10 15:08:47.231 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1748. 2017-08-10 15:08:47.232 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1749. 2017-08-10 15:08:47.232 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1750. 2017-08-10 15:08:47.233 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1751. 2017-08-10 15:08:47.233 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1752. 2017-08-10 15:08:47.234 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1753. 2017-08-10 15:08:47.234 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1754. 2017-08-10 15:08:47.234 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1755. 2017-08-10 15:08:47.234 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1756. 2017-08-10 15:08:47.236 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1757. 2017-08-10 15:08:47.238 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1758. 2017-08-10 15:08:47.238 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1759. 2017-08-10 15:08:47.239 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1760. 2017-08-10 15:08:47.260 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1761. 2017-08-10 15:08:47.261 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1762. 2017-08-10 15:08:47.261 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1763. 2017-08-10 15:08:47.265 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1764. 2017-08-10 15:08:47.275 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1765. 2017-08-10 15:08:47.276 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1766. 2017-08-10 15:08:47.278 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1767. 2017-08-10 15:08:47.278 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1768. 2017-08-10 15:08:47.280 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1769. 2017-08-10 15:08:47.280 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1770. 2017-08-10 15:08:47.283 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1771. 2017-08-10 15:08:47.283 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1772. 2017-08-10 15:08:47.293 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1773. 2017-08-10 15:08:47.294 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1774. 2017-08-10 15:08:47.296 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  1775. 2017-08-10 15:08:47.296 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  1776. 2017-08-10 15:08:47.307 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1777. 2017-08-10 15:08:47.308 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1778. 2017-08-10 15:08:47.310 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1779. 2017-08-10 15:08:47.310 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1780. 2017-08-10 15:08:47.310 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1781. 2017-08-10 15:08:47.310 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1782. 2017-08-10 15:08:47.311 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1783. 2017-08-10 15:08:47.312 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  1784. 2017-08-10 15:08:47.313 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1785. 2017-08-10 15:08:47.314 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1786. 2017-08-10 15:08:47.314 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1787. 2017-08-10 15:08:47.335 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1788. 2017-08-10 15:08:47.337 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1789. 2017-08-10 15:08:47.341 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1790. 2017-08-10 15:08:47.341 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1791. 2017-08-10 15:08:47.341 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1792. 2017-08-10 15:08:47.344 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1793. 2017-08-10 15:08:47.344 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  1794. 2017-08-10 15:08:47.344 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1795. 2017-08-10 15:08:47.346 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  1796. 2017-08-10 15:08:47.347 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1797. 2017-08-10 15:08:47.402 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  1798. 2017-08-10 15:08:47.405 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  1799. 2017-08-10 15:08:47.405 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1800. 2017-08-10 15:08:47.433 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  1801. 2017-08-10 15:08:47.434 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  1802. 2017-08-10 15:08:47.435 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  1803. 2017-08-10 15:08:47.435 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  1804. 2017-08-10 15:08:47.449 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 223
  1805. 2017-08-10 15:08:47.451 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  1806. 2017-08-10 15:08:47.451 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1807. 2017-08-10 15:08:47.463 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1808. 2017-08-10 15:08:47.464 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1809. 2017-08-10 15:08:47.465 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1810. 2017-08-10 15:08:47.489 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  1811. 2017-08-10 15:08:47.493 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  1812. 2017-08-10 15:08:47.494 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1813. 2017-08-10 15:08:47.494 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1814. 2017-08-10 15:08:47.496 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1815. 2017-08-10 15:08:47.497 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1816. 2017-08-10 15:08:47.497 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1817. 2017-08-10 15:08:47.508 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  1818. 2017-08-10 15:08:47.509 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1819. 2017-08-10 15:08:47.510 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1820. 2017-08-10 15:08:47.511 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  1821. 2017-08-10 15:08:47.524 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1822. 2017-08-10 15:08:47.527 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1823. 2017-08-10 15:08:47.611 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  1824. 2017-08-10 15:08:47.613 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  1825. 2017-08-10 15:08:47.613 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1826. 2017-08-10 15:08:48.298 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  1827. 2017-08-10 15:08:48.316 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1828. 2017-08-10 15:08:48.317 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1829. 2017-08-10 15:08:48.348 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1830. 2017-08-10 15:08:48.351 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  1831. 2017-08-10 15:08:48.351 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1832. 2017-08-10 15:08:48.648 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  1833. 2017-08-10 15:11:30.518 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1834. 2017-08-10 15:11:30.518 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1835. 2017-08-10 15:11:30.664 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1836. 2017-08-10 15:11:30.665 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1837. 2017-08-10 15:11:30.684 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1838. 2017-08-10 15:11:30.684 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1839. 2017-08-10 15:11:30.699 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1840. 2017-08-10 15:11:30.713 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1841. 2017-08-10 15:11:30.725 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1842. 2017-08-10 15:11:30.726 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1843. 2017-08-10 15:11:30.740 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1844. 2017-08-10 15:11:30.740 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1845. 2017-08-10 15:11:30.756 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1846. 2017-08-10 15:11:30.757 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1847. 2017-08-10 15:11:30.757 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1848. 2017-08-10 15:11:30.770 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1849. 2017-08-10 15:11:30.771 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1850. 2017-08-10 15:11:30.771 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1851. 2017-08-10 15:11:30.788 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1852. 2017-08-10 15:11:30.799 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1853. 2017-08-10 15:11:30.828 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1854. 2017-08-10 15:11:30.829 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1855. 2017-08-10 15:11:30.842 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1856. 2017-08-10 15:11:30.843 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1857. 2017-08-10 15:11:30.875 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  1858. 2017-08-10 15:11:30.876 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  1859. 2017-08-10 15:11:30.918 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  1860. 2017-08-10 15:11:30.919 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1861. 2017-08-10 15:11:30.920 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1862. 2017-08-10 15:11:30.953 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1863. 2017-08-10 15:11:30.995 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1864. 2017-08-10 15:11:30.995 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1865. 2017-08-10 15:11:31.026 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1866. 2017-08-10 15:11:31.026 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1867. 2017-08-10 15:11:31.026 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1868. 2017-08-10 15:11:31.026 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1869. 2017-08-10 15:11:31.056 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1870. 2017-08-10 15:11:31.056 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1871. 2017-08-10 15:11:31.057 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1872. 2017-08-10 15:11:31.057 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1873. 2017-08-10 15:11:31.058 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1874. 2017-08-10 15:11:31.058 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1875. 2017-08-10 15:11:31.088 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1876. 2017-08-10 15:11:31.089 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1877. 2017-08-10 15:11:31.089 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1878. 2017-08-10 15:11:31.091 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1879. 2017-08-10 15:11:31.091 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1880. 2017-08-10 15:11:31.091 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1881. 2017-08-10 15:11:31.116 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1882. 2017-08-10 15:11:31.124 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1883. 2017-08-10 15:11:31.159 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1884. 2017-08-10 15:11:31.160 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1885. 2017-08-10 15:11:31.161 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  1886. 2017-08-10 15:11:31.162 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  1887. 2017-08-10 15:11:31.168 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1888. 2017-08-10 15:11:31.169 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1889. 2017-08-10 15:11:31.170 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  1890. 2017-08-10 15:11:31.171 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  1891. 2017-08-10 15:11:31.200 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  1892. 2017-08-10 15:11:31.201 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  1893. 2017-08-10 15:11:31.208 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1894. 2017-08-10 15:11:31.238 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1895. 2017-08-10 15:11:31.239 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1896. 2017-08-10 15:11:31.269 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1897. 2017-08-10 15:11:31.270 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1898. 2017-08-10 15:11:31.270 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1899. 2017-08-10 15:11:31.300 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1900. 2017-08-10 15:11:31.301 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1901. 2017-08-10 15:11:31.301 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1902. 2017-08-10 15:11:31.333 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1903. 2017-08-10 15:11:31.376 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1904. 2017-08-10 15:11:31.377 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1905. 2017-08-10 15:11:31.381 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  1906. 2017-08-10 15:11:31.382 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1907. 2017-08-10 15:11:31.486 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  1908. 2017-08-10 15:11:31.513 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1909. 2017-08-10 15:11:31.544 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1910. 2017-08-10 15:11:31.544 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1911. 2017-08-10 15:11:31.573 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1912. 2017-08-10 15:11:31.574 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1913. 2017-08-10 15:11:31.574 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1914. 2017-08-10 15:11:31.625 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1915. 2017-08-10 15:11:31.626 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1916. 2017-08-10 15:11:31.627 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1917. 2017-08-10 15:11:31.668 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1918. 2017-08-10 15:11:31.712 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1919. 2017-08-10 15:11:31.713 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1920. 2017-08-10 15:11:31.717 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  1921. 2017-08-10 15:11:31.717 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  1922. 2017-08-10 15:11:31.759 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  1923. 2017-08-10 15:11:31.856 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1924. 2017-08-10 15:11:31.856 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1925. 2017-08-10 15:11:31.858 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1926. 2017-08-10 15:11:31.858 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1927. 2017-08-10 15:11:31.858 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1928. 2017-08-10 15:11:31.859 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1929. 2017-08-10 15:11:31.884 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1930. 2017-08-10 15:11:31.885 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1931. 2017-08-10 15:11:31.887 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1932. 2017-08-10 15:11:31.887 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1933. 2017-08-10 15:11:31.914 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1934. 2017-08-10 15:11:31.915 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1935. 2017-08-10 15:11:31.921 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1936. 2017-08-10 15:11:31.921 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1937. 2017-08-10 15:11:31.922 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1938. 2017-08-10 15:11:31.922 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1939. 2017-08-10 15:11:31.953 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1940. 2017-08-10 15:11:31.953 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1941. 2017-08-10 15:11:31.954 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1942. 2017-08-10 15:11:31.963 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1943. 2017-08-10 15:11:31.964 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1944. 2017-08-10 15:11:31.964 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1945. 2017-08-10 15:11:31.970 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1946. 2017-08-10 15:11:31.970 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1947. 2017-08-10 15:11:31.970 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1948. 2017-08-10 15:11:31.971 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1949. 2017-08-10 15:11:31.980 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1950. 2017-08-10 15:11:31.991 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1951. 2017-08-10 15:11:31.998 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1952. 2017-08-10 15:11:31.999 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1953. 2017-08-10 15:11:31.999 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1954. 2017-08-10 15:11:32.000 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1955. 2017-08-10 15:11:32.000 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1956. 2017-08-10 15:11:32.000 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1957. 2017-08-10 15:11:32.002 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1958. 2017-08-10 15:11:32.003 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1959. 2017-08-10 15:11:32.009 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  1960. 2017-08-10 15:11:32.010 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  1961. 2017-08-10 15:11:32.024 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1962. 2017-08-10 15:11:32.025 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1963. 2017-08-10 15:11:32.028 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  1964. 2017-08-10 15:11:32.029 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1965. 2017-08-10 15:11:32.030 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1966. 2017-08-10 15:11:32.031 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1967. 2017-08-10 15:11:32.031 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1968. 2017-08-10 15:11:32.031 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1969. 2017-08-10 15:11:32.032 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1970. 2017-08-10 15:11:32.032 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1971. 2017-08-10 15:11:32.032 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1972. 2017-08-10 15:11:32.036 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  1973. 2017-08-10 15:11:32.039 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1974. 2017-08-10 15:11:32.040 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1975. 2017-08-10 15:11:32.041 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  1976. 2017-08-10 15:11:32.041 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  1977. 2017-08-10 15:11:32.059 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1978. 2017-08-10 15:11:32.060 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1979. 2017-08-10 15:11:32.061 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1980. 2017-08-10 15:11:32.061 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  1981. 2017-08-10 15:11:32.063 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  1982. 2017-08-10 15:11:32.063 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  1983. 2017-08-10 15:11:32.063 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  1984. 2017-08-10 15:11:32.064 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  1985. 2017-08-10 15:11:32.065 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  1986. 2017-08-10 15:11:32.072 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  1987. 2017-08-10 15:11:32.074 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  1988. 2017-08-10 15:11:32.075 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  1989. 2017-08-10 15:11:32.092 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1990. 2017-08-10 15:11:32.093 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1991. 2017-08-10 15:11:32.094 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1992. 2017-08-10 15:11:32.095 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  1993. 2017-08-10 15:11:32.095 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  1994. 2017-08-10 15:11:32.095 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  1995. 2017-08-10 15:11:32.109 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1996. 2017-08-10 15:11:32.109 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  1997. 2017-08-10 15:11:32.110 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1998. 2017-08-10 15:11:32.110 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  1999. 2017-08-10 15:11:32.127 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2000. 2017-08-10 15:11:32.127 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2001. 2017-08-10 15:11:32.128 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  2002. 2017-08-10 15:11:32.130 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  2003. 2017-08-10 15:11:32.130 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2004. 2017-08-10 15:11:32.147 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2005. 2017-08-10 15:11:32.147 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2006. 2017-08-10 15:11:32.148 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2007. 2017-08-10 15:11:32.148 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  2008. 2017-08-10 15:11:32.177 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2009. 2017-08-10 15:11:32.178 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2010. 2017-08-10 15:11:32.181 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2011. 2017-08-10 15:11:32.182 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2012. 2017-08-10 15:11:32.182 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2013. 2017-08-10 15:11:32.183 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2014. 2017-08-10 15:11:32.183 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 224
  2015. 2017-08-10 15:11:32.184 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2016. 2017-08-10 15:11:32.184 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2017. 2017-08-10 15:11:32.185 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  2018. 2017-08-10 15:11:32.186 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2019. 2017-08-10 15:11:32.213 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  2020. 2017-08-10 15:11:32.213 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2021. 2017-08-10 15:11:32.216 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2022. 2017-08-10 15:11:32.217 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  2023. 2017-08-10 15:11:32.246 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  2024. 2017-08-10 15:11:32.248 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2025. 2017-08-10 15:11:32.249 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2026. 2017-08-10 15:11:32.252 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  2027. 2017-08-10 15:11:32.288 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  2028. 2017-08-10 15:11:32.290 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2029. 2017-08-10 15:11:32.291 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  2030. 2017-08-10 15:11:32.318 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2031. 2017-08-10 15:11:32.318 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2032. 2017-08-10 15:11:32.319 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2033. 2017-08-10 15:11:32.336 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2034. 2017-08-10 15:11:32.337 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2035. 2017-08-10 15:11:32.338 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2036. 2017-08-10 15:11:32.350 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2037. 2017-08-10 15:11:32.360 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  2038. 2017-08-10 15:11:32.367 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2039. 2017-08-10 15:11:32.369 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2040. 2017-08-10 15:11:32.370 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2041. 2017-08-10 15:11:32.383 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  2042. 2017-08-10 15:11:32.385 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2043. 2017-08-10 15:11:32.385 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2044. 2017-08-10 15:11:32.402 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2045. 2017-08-10 15:11:33.140 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2046. 2017-08-10 15:11:33.156 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2047. 2017-08-10 15:11:33.157 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2048. 2017-08-10 15:11:33.191 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2049. 2017-08-10 15:11:33.194 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  2050. 2017-08-10 15:11:33.195 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2051. 2017-08-10 15:11:33.473 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  2052. 2017-08-10 15:15:42.520 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2053. 2017-08-10 15:15:42.520 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2054. 2017-08-10 15:15:42.675 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2055. 2017-08-10 15:15:42.676 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2056. 2017-08-10 15:15:42.676 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2057. 2017-08-10 15:15:42.676 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2058. 2017-08-10 15:15:42.702 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2059. 2017-08-10 15:15:42.704 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2060. 2017-08-10 15:15:42.727 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2061. 2017-08-10 15:15:42.728 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2062. 2017-08-10 15:15:42.729 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2063. 2017-08-10 15:15:42.729 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2064. 2017-08-10 15:15:42.757 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2065. 2017-08-10 15:15:42.758 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2066. 2017-08-10 15:15:42.758 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2067. 2017-08-10 15:15:42.759 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2068. 2017-08-10 15:15:42.759 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2069. 2017-08-10 15:15:42.759 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2070. 2017-08-10 15:15:42.784 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2071. 2017-08-10 15:15:42.787 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2072. 2017-08-10 15:15:42.828 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2073. 2017-08-10 15:15:42.828 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2074. 2017-08-10 15:15:42.829 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2075. 2017-08-10 15:15:42.829 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2076. 2017-08-10 15:15:42.864 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  2077. 2017-08-10 15:15:42.865 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  2078. 2017-08-10 15:15:42.903 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  2079. 2017-08-10 15:15:42.904 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2080. 2017-08-10 15:15:42.905 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2081. 2017-08-10 15:15:42.934 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2082. 2017-08-10 15:15:42.974 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2083. 2017-08-10 15:15:42.974 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2084. 2017-08-10 15:15:43.002 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2085. 2017-08-10 15:15:43.003 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2086. 2017-08-10 15:15:43.004 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2087. 2017-08-10 15:15:43.005 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2088. 2017-08-10 15:15:43.031 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2089. 2017-08-10 15:15:43.032 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2090. 2017-08-10 15:15:43.032 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2091. 2017-08-10 15:15:43.033 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2092. 2017-08-10 15:15:43.033 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2093. 2017-08-10 15:15:43.033 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2094. 2017-08-10 15:15:43.061 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2095. 2017-08-10 15:15:43.061 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2096. 2017-08-10 15:15:43.061 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2097. 2017-08-10 15:15:43.062 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2098. 2017-08-10 15:15:43.062 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2099. 2017-08-10 15:15:43.062 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2100. 2017-08-10 15:15:43.087 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2101. 2017-08-10 15:15:43.089 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2102. 2017-08-10 15:15:43.130 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2103. 2017-08-10 15:15:43.130 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2104. 2017-08-10 15:15:43.131 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2105. 2017-08-10 15:15:43.131 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2106. 2017-08-10 15:15:43.133 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  2107. 2017-08-10 15:15:43.133 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2108. 2017-08-10 15:15:43.133 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  2109. 2017-08-10 15:15:43.134 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2110. 2017-08-10 15:15:43.163 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2111. 2017-08-10 15:15:43.171 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2112. 2017-08-10 15:15:43.174 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  2113. 2017-08-10 15:15:43.200 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2114. 2017-08-10 15:15:43.201 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2115. 2017-08-10 15:15:43.229 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2116. 2017-08-10 15:15:43.230 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2117. 2017-08-10 15:15:43.230 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2118. 2017-08-10 15:15:43.263 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2119. 2017-08-10 15:15:43.264 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2120. 2017-08-10 15:15:43.265 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2121. 2017-08-10 15:15:43.291 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2122. 2017-08-10 15:15:43.334 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2123. 2017-08-10 15:15:43.335 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2124. 2017-08-10 15:15:43.339 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2125. 2017-08-10 15:15:43.339 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2126. 2017-08-10 15:15:43.438 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  2127. 2017-08-10 15:15:43.463 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2128. 2017-08-10 15:15:43.493 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2129. 2017-08-10 15:15:43.494 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2130. 2017-08-10 15:15:43.522 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2131. 2017-08-10 15:15:43.523 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2132. 2017-08-10 15:15:43.524 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2133. 2017-08-10 15:15:43.553 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2134. 2017-08-10 15:15:43.554 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2135. 2017-08-10 15:15:43.554 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2136. 2017-08-10 15:15:43.579 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2137. 2017-08-10 15:15:43.622 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2138. 2017-08-10 15:15:43.624 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2139. 2017-08-10 15:15:43.627 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  2140. 2017-08-10 15:15:43.628 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  2141. 2017-08-10 15:15:43.669 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  2142. 2017-08-10 15:15:43.770 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2143. 2017-08-10 15:15:43.770 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2144. 2017-08-10 15:15:43.779 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2145. 2017-08-10 15:15:43.779 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2146. 2017-08-10 15:15:43.779 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2147. 2017-08-10 15:15:43.779 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2148. 2017-08-10 15:15:43.803 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2149. 2017-08-10 15:15:43.803 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2150. 2017-08-10 15:15:43.806 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2151. 2017-08-10 15:15:43.806 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2152. 2017-08-10 15:15:43.832 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2153. 2017-08-10 15:15:43.833 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2154. 2017-08-10 15:15:43.833 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2155. 2017-08-10 15:15:43.834 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2156. 2017-08-10 15:15:43.834 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2157. 2017-08-10 15:15:43.834 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2158. 2017-08-10 15:15:43.863 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2159. 2017-08-10 15:15:43.863 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2160. 2017-08-10 15:15:43.864 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2161. 2017-08-10 15:15:43.864 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2162. 2017-08-10 15:15:43.865 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2163. 2017-08-10 15:15:43.865 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2164. 2017-08-10 15:15:43.882 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2165. 2017-08-10 15:15:43.882 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2166. 2017-08-10 15:15:43.890 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2167. 2017-08-10 15:15:43.890 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2168. 2017-08-10 15:15:43.891 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2169. 2017-08-10 15:15:43.891 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2170. 2017-08-10 15:15:43.910 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2171. 2017-08-10 15:15:43.911 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2172. 2017-08-10 15:15:43.911 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2173. 2017-08-10 15:15:43.916 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2174. 2017-08-10 15:15:43.917 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2175. 2017-08-10 15:15:43.917 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2176. 2017-08-10 15:15:43.919 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2177. 2017-08-10 15:15:43.919 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2178. 2017-08-10 15:15:43.933 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2179. 2017-08-10 15:15:43.934 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2180. 2017-08-10 15:15:43.935 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2181. 2017-08-10 15:15:43.935 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2182. 2017-08-10 15:15:43.935 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2183. 2017-08-10 15:15:43.935 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2184. 2017-08-10 15:15:43.937 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2185. 2017-08-10 15:15:43.938 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2186. 2017-08-10 15:15:43.940 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2187. 2017-08-10 15:15:43.940 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2188. 2017-08-10 15:15:43.940 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2189. 2017-08-10 15:15:43.940 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2190. 2017-08-10 15:15:43.941 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2191. 2017-08-10 15:15:43.946 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2192. 2017-08-10 15:15:43.947 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2193. 2017-08-10 15:15:43.947 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2194. 2017-08-10 15:15:43.949 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2195. 2017-08-10 15:15:43.963 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2196. 2017-08-10 15:15:43.964 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2197. 2017-08-10 15:15:43.967 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2198. 2017-08-10 15:15:43.972 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2199. 2017-08-10 15:15:43.974 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2200. 2017-08-10 15:15:43.974 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  2201. 2017-08-10 15:15:43.974 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2202. 2017-08-10 15:15:43.975 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2203. 2017-08-10 15:15:43.975 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2204. 2017-08-10 15:15:43.989 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  2205. 2017-08-10 15:15:43.990 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2206. 2017-08-10 15:15:43.991 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2207. 2017-08-10 15:15:43.991 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2208. 2017-08-10 15:15:44.005 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2209. 2017-08-10 15:15:44.006 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2210. 2017-08-10 15:15:44.006 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2211. 2017-08-10 15:15:44.010 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2212. 2017-08-10 15:15:44.011 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2213. 2017-08-10 15:15:44.013 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2214. 2017-08-10 15:15:44.014 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2215. 2017-08-10 15:15:44.015 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2216. 2017-08-10 15:15:44.016 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2217. 2017-08-10 15:15:44.021 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2218. 2017-08-10 15:15:44.022 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2219. 2017-08-10 15:15:44.023 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2220. 2017-08-10 15:15:44.030 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  2221. 2017-08-10 15:15:44.031 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2222. 2017-08-10 15:15:44.031 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  2223. 2017-08-10 15:15:44.032 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2224. 2017-08-10 15:15:44.043 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2225. 2017-08-10 15:15:44.043 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  2226. 2017-08-10 15:15:44.051 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2227. 2017-08-10 15:15:44.073 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2228. 2017-08-10 15:15:44.074 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2229. 2017-08-10 15:15:44.076 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2230. 2017-08-10 15:15:44.077 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2231. 2017-08-10 15:15:44.078 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 224
  2232. 2017-08-10 15:15:44.080 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  2233. 2017-08-10 15:15:44.081 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2234. 2017-08-10 15:15:44.095 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2235. 2017-08-10 15:15:44.097 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2236. 2017-08-10 15:15:44.100 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2237. 2017-08-10 15:15:44.100 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2238. 2017-08-10 15:15:44.100 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  2239. 2017-08-10 15:15:44.107 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2240. 2017-08-10 15:15:44.109 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2241. 2017-08-10 15:15:44.109 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  2242. 2017-08-10 15:15:44.137 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  2243. 2017-08-10 15:15:44.139 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2244. 2017-08-10 15:15:44.139 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2245. 2017-08-10 15:15:44.167 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  2246. 2017-08-10 15:15:44.168 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2247. 2017-08-10 15:15:44.169 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2248. 2017-08-10 15:15:44.169 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2249. 2017-08-10 15:15:44.169 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2250. 2017-08-10 15:15:44.170 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  2251. 2017-08-10 15:15:44.175 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  2252. 2017-08-10 15:15:44.200 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2253. 2017-08-10 15:15:44.202 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2254. 2017-08-10 15:15:44.203 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2255. 2017-08-10 15:15:44.223 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  2256. 2017-08-10 15:15:44.224 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2257. 2017-08-10 15:15:44.224 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2258. 2017-08-10 15:15:44.226 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  2259. 2017-08-10 15:15:44.232 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2260. 2017-08-10 15:15:44.257 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2261. 2017-08-10 15:15:44.258 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2262. 2017-08-10 15:15:44.259 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2263. 2017-08-10 15:15:44.291 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2264. 2017-08-10 15:15:44.856 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2265. 2017-08-10 15:15:44.873 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2266. 2017-08-10 15:15:44.873 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2267. 2017-08-10 15:15:44.904 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2268. 2017-08-10 15:15:44.907 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  2269. 2017-08-10 15:15:44.907 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2270. 2017-08-10 15:15:45.170 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  2271. 2017-08-10 15:15:48.097 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2272. 2017-08-10 15:15:48.097 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2273. 2017-08-10 15:15:48.097 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2274. 2017-08-10 15:15:48.097 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2275. 2017-08-10 15:15:48.127 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2276. 2017-08-10 15:15:48.128 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2277. 2017-08-10 15:15:48.132 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2278. 2017-08-10 15:15:48.133 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2279. 2017-08-10 15:15:48.137 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2280. 2017-08-10 15:15:48.137 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2281. 2017-08-10 15:15:48.139 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2282. 2017-08-10 15:15:48.139 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2283. 2017-08-10 15:15:48.141 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2284. 2017-08-10 15:15:48.141 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2285. 2017-08-10 15:15:48.157 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2286. 2017-08-10 15:15:48.157 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2287. 2017-08-10 15:15:48.158 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2288. 2017-08-10 15:15:48.163 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2289. 2017-08-10 15:15:48.163 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2290. 2017-08-10 15:15:48.165 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2291. 2017-08-10 15:15:48.166 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2292. 2017-08-10 15:15:48.166 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2293. 2017-08-10 15:15:48.167 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2294. 2017-08-10 15:15:48.167 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2295. 2017-08-10 15:15:48.168 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2296. 2017-08-10 15:15:48.172 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2297. 2017-08-10 15:15:48.172 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2298. 2017-08-10 15:15:48.172 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2299. 2017-08-10 15:15:48.187 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2300. 2017-08-10 15:15:48.188 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2301. 2017-08-10 15:15:48.188 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2302. 2017-08-10 15:15:48.195 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2303. 2017-08-10 15:15:48.196 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2304. 2017-08-10 15:15:48.196 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2305. 2017-08-10 15:15:48.197 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2306. 2017-08-10 15:15:48.197 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2307. 2017-08-10 15:15:48.197 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2308. 2017-08-10 15:15:48.201 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2309. 2017-08-10 15:15:48.202 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2310. 2017-08-10 15:15:48.202 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2311. 2017-08-10 15:15:48.208 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2312. 2017-08-10 15:15:48.209 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2313. 2017-08-10 15:15:48.211 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2314. 2017-08-10 15:15:48.212 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2315. 2017-08-10 15:15:48.212 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2316. 2017-08-10 15:15:48.215 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2317. 2017-08-10 15:15:48.223 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2318. 2017-08-10 15:15:48.223 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2319. 2017-08-10 15:15:48.229 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2320. 2017-08-10 15:15:48.237 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2321. 2017-08-10 15:15:48.238 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2322. 2017-08-10 15:15:48.238 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2323. 2017-08-10 15:15:48.241 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2324. 2017-08-10 15:15:48.241 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2325. 2017-08-10 15:15:48.241 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2326. 2017-08-10 15:15:48.259 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2327. 2017-08-10 15:15:48.260 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2328. 2017-08-10 15:15:48.263 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2329. 2017-08-10 15:15:48.263 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2330. 2017-08-10 15:15:48.267 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2331. 2017-08-10 15:15:48.267 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2332. 2017-08-10 15:15:48.268 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2333. 2017-08-10 15:15:48.268 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2334. 2017-08-10 15:15:48.268 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2335. 2017-08-10 15:15:48.268 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2336. 2017-08-10 15:15:48.269 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2337. 2017-08-10 15:15:48.269 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2338. 2017-08-10 15:15:48.271 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2339. 2017-08-10 15:15:48.271 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2340. 2017-08-10 15:15:48.271 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2341. 2017-08-10 15:15:48.271 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2342. 2017-08-10 15:15:48.271 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2343. 2017-08-10 15:15:48.272 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2344. 2017-08-10 15:15:48.273 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2345. 2017-08-10 15:15:48.273 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2346. 2017-08-10 15:15:48.292 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2347. 2017-08-10 15:15:48.294 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Preparing: SELECT count(1) FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) AND t.organid in ( SELECT id FROM t_sys_organ where parentid=? )
  2348. 2017-08-10 15:15:48.294 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Parameters: 30(Long)
  2349. 2017-08-10 15:15:48.294 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2350. 2017-08-10 15:15:48.300 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2351. 2017-08-10 15:15:48.300 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2352. 2017-08-10 15:15:48.302 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2353. 2017-08-10 15:15:48.302 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Preparing: SELECT count(1) FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) AND t.organid in ( SELECT id FROM t_sys_organ where parentid=? )
  2354. 2017-08-10 15:15:48.302 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Parameters: 30(Long)
  2355. 2017-08-10 15:15:48.303 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2356. 2017-08-10 15:15:48.303 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  2357. 2017-08-10 15:15:48.303 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2358. 2017-08-10 15:15:48.312 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2359. 2017-08-10 15:15:48.313 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2360. 2017-08-10 15:15:48.315 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer), 2017/08(String)
  2361. 2017-08-10 15:15:48.316 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2362. 2017-08-10 15:15:48.317 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2363. 2017-08-10 15:15:48.322 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| <== Total: 1
  2364. 2017-08-10 15:15:48.324 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) GROUP BY tab.mth
  2365. 2017-08-10 15:15:48.324 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer)
  2366. 2017-08-10 15:15:48.330 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| <== Total: 1
  2367. 2017-08-10 15:15:48.333 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2368. 2017-08-10 15:15:48.334 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer), 2017/08(String)
  2369. 2017-08-10 15:15:48.335 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2370. 2017-08-10 15:15:48.336 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2371. 2017-08-10 15:15:48.338 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2372. 2017-08-10 15:15:48.339 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2373. 2017-08-10 15:15:48.359 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  2374. 2017-08-10 15:15:48.359 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 22
  2375. 2017-08-10 15:15:48.361 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  2376. 2017-08-10 15:15:48.361 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2377. 2017-08-10 15:15:48.367 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2378. 2017-08-10 15:15:48.369 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Preparing: SELECT tab.checkd_all_score AS all_check_score,tab.checked_person AS user_id , tab.checked_dept AS dept_id ,tab.checked_num FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? )
  2379. 2017-08-10 15:15:48.369 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Parameters: 2017/08(String), 2017/08(String), 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer)
  2380. 2017-08-10 15:15:48.376 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 22
  2381. 2017-08-10 15:15:48.377 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2382. 2017-08-10 15:15:48.378 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer), 2017/07(String)
  2383. 2017-08-10 15:15:48.415 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 224
  2384. 2017-08-10 15:15:48.417 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  2385. 2017-08-10 15:15:48.418 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2386. 2017-08-10 15:15:48.419 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 29
  2387. 2017-08-10 15:15:48.469 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2388. 2017-08-10 15:15:48.470 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2389. 2017-08-10 15:15:48.470 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2390. 2017-08-10 15:15:48.498 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  2391. 2017-08-10 15:15:48.500 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2392. 2017-08-10 15:15:48.500 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2393. 2017-08-10 15:15:48.501 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2394. 2017-08-10 15:15:48.501 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2395. 2017-08-10 15:15:48.501 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2396. 2017-08-10 15:15:48.529 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2397. 2017-08-10 15:15:48.531 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| <== Total: 175
  2398. 2017-08-10 15:15:48.533 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 and t.organid in ( select id from t_sys_organ where parentid = ? ) AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2399. 2017-08-10 15:15:48.533 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 30(Integer), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2400. 2017-08-10 15:15:48.547 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  2401. 2017-08-10 15:15:48.602 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  2402. 2017-08-10 15:15:48.603 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2403. 2017-08-10 15:15:48.604 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2404. 2017-08-10 15:15:48.622 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 187
  2405. 2017-08-10 15:15:48.623 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2406. 2017-08-10 15:15:48.624 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2407. 2017-08-10 15:15:49.272 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2408. 2017-08-10 15:15:49.324 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2409. 2017-08-10 15:15:49.341 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2410. 2017-08-10 15:15:49.341 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2411. 2017-08-10 15:15:49.371 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2412. 2017-08-10 15:15:49.374 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  2413. 2017-08-10 15:15:49.374 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2414. 2017-08-10 15:15:49.638 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  2415. 2017-08-10 15:16:16.538 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2416. 2017-08-10 15:16:16.538 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2417. 2017-08-10 15:16:16.571 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2418. 2017-08-10 15:16:16.572 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2419. 2017-08-10 15:16:16.573 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2420. 2017-08-10 15:16:16.573 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2421. 2017-08-10 15:16:16.601 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2422. 2017-08-10 15:16:16.601 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2423. 2017-08-10 15:16:16.602 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2424. 2017-08-10 15:16:16.602 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2425. 2017-08-10 15:16:16.602 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2426. 2017-08-10 15:16:16.603 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2427. 2017-08-10 15:16:16.633 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2428. 2017-08-10 15:16:16.633 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2429. 2017-08-10 15:16:16.634 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2430. 2017-08-10 15:16:16.634 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2431. 2017-08-10 15:16:16.634 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2432. 2017-08-10 15:16:16.634 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2433. 2017-08-10 15:16:16.660 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2434. 2017-08-10 15:16:16.664 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2435. 2017-08-10 15:16:16.715 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2436. 2017-08-10 15:16:16.716 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2437. 2017-08-10 15:16:16.717 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2438. 2017-08-10 15:16:16.717 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2439. 2017-08-10 15:16:16.755 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Preparing: SELECT id,menuname,url,iconClass,parentId,type,sortNo,status FROM sys_menu where status!=-1 order by sortNo,id
  2440. 2017-08-10 15:16:16.755 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| ==> Parameters:
  2441. 2017-08-10 15:16:17.310 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.MenuDao.getMenu [159] -| <== Total: 49
  2442. 2017-08-10 15:16:17.311 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2443. 2017-08-10 15:16:17.311 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2444. 2017-08-10 15:16:17.353 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2445. 2017-08-10 15:16:17.393 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2446. 2017-08-10 15:16:17.393 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2447. 2017-08-10 15:16:17.427 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2448. 2017-08-10 15:16:17.428 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2449. 2017-08-10 15:16:17.432 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2450. 2017-08-10 15:16:17.432 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2451. 2017-08-10 15:16:17.457 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2452. 2017-08-10 15:16:17.458 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2453. 2017-08-10 15:16:17.458 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2454. 2017-08-10 15:16:17.492 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2455. 2017-08-10 15:16:17.493 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2456. 2017-08-10 15:16:17.493 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2457. 2017-08-10 15:16:17.532 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2458. 2017-08-10 15:16:17.532 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2459. 2017-08-10 15:16:17.533 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2460. 2017-08-10 15:16:17.534 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2461. 2017-08-10 15:16:17.575 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2462. 2017-08-10 15:16:17.576 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2463. 2017-08-10 15:16:17.577 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2464. 2017-08-10 15:16:17.587 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2465. 2017-08-10 15:16:17.588 |-INFO [http-nio-8089-exec-6] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2466. 2017-08-10 15:16:17.590 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2467. 2017-08-10 15:16:17.590 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2468. 2017-08-10 15:16:17.605 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2469. 2017-08-10 15:16:17.619 |-DEBUG [http-nio-8089-exec-6] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2470. 2017-08-10 15:16:17.628 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2471. 2017-08-10 15:16:17.649 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2472. 2017-08-10 15:16:17.650 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2473. 2017-08-10 15:16:17.652 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_road_manager a left join t_sys_organ b on a.organ_id=b.id
  2474. 2017-08-10 15:16:17.652 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| ==> Parameters:
  2475. 2017-08-10 15:16:17.656 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2476. 2017-08-10 15:16:17.656 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2477. 2017-08-10 15:16:17.682 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllRM [159] -| <== Total: 3
  2478. 2017-08-10 15:16:17.684 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2479. 2017-08-10 15:16:17.685 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2480. 2017-08-10 15:16:17.685 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2481. 2017-08-10 15:16:17.715 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2482. 2017-08-10 15:16:17.716 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2483. 2017-08-10 15:16:17.717 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2484. 2017-08-10 15:16:17.743 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2485. 2017-08-10 15:16:17.786 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2486. 2017-08-10 15:16:17.787 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2487. 2017-08-10 15:16:17.792 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2488. 2017-08-10 15:16:17.792 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2489. 2017-08-10 15:16:17.891 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 566
  2490. 2017-08-10 15:16:17.919 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2491. 2017-08-10 15:16:17.950 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2492. 2017-08-10 15:16:17.950 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2493. 2017-08-10 15:16:17.979 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2494. 2017-08-10 15:16:17.980 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2495. 2017-08-10 15:16:17.980 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2496. 2017-08-10 15:16:18.011 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2497. 2017-08-10 15:16:18.013 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2498. 2017-08-10 15:16:18.013 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2499. 2017-08-10 15:16:18.039 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2500. 2017-08-10 15:16:18.095 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2501. 2017-08-10 15:16:18.096 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2502. 2017-08-10 15:16:18.100 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Preparing: SELECT * FROM sys_job WHERE 1=1 AND department_id=?
  2503. 2017-08-10 15:16:18.100 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| ==> Parameters: 1(Long)
  2504. 2017-08-10 15:16:18.128 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.JobDao.getJobList [159] -| <== Total: 8
  2505. 2017-08-10 15:16:18.228 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2506. 2017-08-10 15:16:18.229 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2507. 2017-08-10 15:16:18.230 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2508. 2017-08-10 15:16:18.230 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2509. 2017-08-10 15:16:18.230 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2510. 2017-08-10 15:16:18.230 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2511. 2017-08-10 15:16:18.256 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2512. 2017-08-10 15:16:18.257 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2513. 2017-08-10 15:16:18.258 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2514. 2017-08-10 15:16:18.259 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2515. 2017-08-10 15:16:18.262 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2516. 2017-08-10 15:16:18.262 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2517. 2017-08-10 15:16:18.263 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2518. 2017-08-10 15:16:18.263 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2519. 2017-08-10 15:16:18.263 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2520. 2017-08-10 15:16:18.263 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2521. 2017-08-10 15:16:18.285 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2522. 2017-08-10 15:16:18.286 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2523. 2017-08-10 15:16:18.286 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2524. 2017-08-10 15:16:18.286 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2525. 2017-08-10 15:16:18.286 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2526. 2017-08-10 15:16:18.290 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2527. 2017-08-10 15:16:18.291 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2528. 2017-08-10 15:16:18.291 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2529. 2017-08-10 15:16:18.291 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2530. 2017-08-10 15:16:18.291 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2531. 2017-08-10 15:16:18.292 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2532. 2017-08-10 15:16:18.292 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2533. 2017-08-10 15:16:18.292 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2534. 2017-08-10 15:16:18.292 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2535. 2017-08-10 15:16:18.292 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2536. 2017-08-10 15:16:18.292 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2537. 2017-08-10 15:16:18.293 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2538. 2017-08-10 15:16:18.313 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2539. 2017-08-10 15:16:18.314 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2540. 2017-08-10 15:16:18.315 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2541. 2017-08-10 15:16:18.317 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2542. 2017-08-10 15:16:18.318 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2543. 2017-08-10 15:16:18.318 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2544. 2017-08-10 15:16:18.321 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2545. 2017-08-10 15:16:18.322 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2546. 2017-08-10 15:16:18.322 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2547. 2017-08-10 15:16:18.322 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2548. 2017-08-10 15:16:18.323 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2549. 2017-08-10 15:16:18.323 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2550. 2017-08-10 15:16:18.323 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2551. 2017-08-10 15:16:18.324 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2552. 2017-08-10 15:16:18.324 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2553. 2017-08-10 15:16:18.324 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2554. 2017-08-10 15:16:18.324 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2555. 2017-08-10 15:16:18.325 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2556. 2017-08-10 15:16:18.343 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2557. 2017-08-10 15:16:18.344 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2558. 2017-08-10 15:16:18.344 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2559. 2017-08-10 15:16:18.345 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2560. 2017-08-10 15:16:18.349 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2561. 2017-08-10 15:16:18.349 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2562. 2017-08-10 15:16:18.353 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2563. 2017-08-10 15:16:18.353 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2564. 2017-08-10 15:16:18.370 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2565. 2017-08-10 15:16:18.386 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2566. 2017-08-10 15:16:18.387 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2567. 2017-08-10 15:16:18.390 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2568. 2017-08-10 15:16:18.390 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2569. 2017-08-10 15:16:18.390 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2570. 2017-08-10 15:16:18.391 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2571. 2017-08-10 15:16:18.394 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2572. 2017-08-10 15:16:18.394 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2573. 2017-08-10 15:16:18.394 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2574. 2017-08-10 15:16:18.395 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2575. 2017-08-10 15:16:18.403 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2576. 2017-08-10 15:16:18.403 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2577. 2017-08-10 15:16:18.403 |-INFO [http-nio-8089-exec-10] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2578. 2017-08-10 15:16:18.403 |-INFO [http-nio-8089-exec-5] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2579. 2017-08-10 15:16:18.404 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2580. 2017-08-10 15:16:18.404 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2581. 2017-08-10 15:16:18.404 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2582. 2017-08-10 15:16:18.405 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2583. 2017-08-10 15:16:18.405 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2584. 2017-08-10 15:16:18.405 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2585. 2017-08-10 15:16:18.411 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2586. 2017-08-10 15:16:18.412 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2587. 2017-08-10 15:16:18.413 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2588. 2017-08-10 15:16:18.414 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2589. 2017-08-10 15:16:18.422 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2590. 2017-08-10 15:16:18.423 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  2591. 2017-08-10 15:16:18.424 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2592. 2017-08-10 15:16:18.435 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2593. 2017-08-10 15:16:18.436 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2594. 2017-08-10 15:16:18.436 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2595. 2017-08-10 15:16:18.438 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2596. 2017-08-10 15:16:18.439 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Preparing: SELECT count(1) FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) AND t.organid in ( SELECT id FROM t_sys_organ where parentid=? )
  2597. 2017-08-10 15:16:18.439 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer), 2017/08(String)
  2598. 2017-08-10 15:16:18.439 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Preparing: SELECT count(1) FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) AND t.organid in ( SELECT id FROM t_sys_organ where parentid=? )
  2599. 2017-08-10 15:16:18.439 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Parameters: 30(Long)
  2600. 2017-08-10 15:16:18.440 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| ==> Parameters: 30(Long)
  2601. 2017-08-10 15:16:18.441 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2602. 2017-08-10 15:16:18.443 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Preparing: SELECT tab.checkd_all_score AS all_check_score,tab.checked_person AS user_id , tab.checked_dept AS dept_id ,tab.checked_num FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? )
  2603. 2017-08-10 15:16:18.444 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Parameters: 2017/08(String), 2017/08(String), 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer)
  2604. 2017-08-10 15:16:18.467 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| <== Total: 1
  2605. 2017-08-10 15:16:18.469 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCenterManageCount [159] -| <== Total: 1
  2606. 2017-08-10 15:16:18.469 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) GROUP BY tab.mth
  2607. 2017-08-10 15:16:18.470 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer)
  2608. 2017-08-10 15:16:18.471 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2609. 2017-08-10 15:16:18.471 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer), 2017/08(String)
  2610. 2017-08-10 15:16:18.478 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  2611. 2017-08-10 15:16:18.480 |-DEBUG [http-nio-8089-exec-5] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 22
  2612. 2017-08-10 15:16:18.480 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  2613. 2017-08-10 15:16:18.481 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2614. 2017-08-10 15:16:18.512 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 22
  2615. 2017-08-10 15:16:18.514 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept IN ( ? , ? , ? , ? , ? , ? , ? ) ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2616. 2017-08-10 15:16:18.514 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 33(Integer), 34(Integer), 35(Integer), 36(Integer), 37(Integer), 38(Integer), 39(Integer), 2017/07(String)
  2617. 2017-08-10 15:16:18.524 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 224
  2618. 2017-08-10 15:16:18.526 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  2619. 2017-08-10 15:16:18.526 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2620. 2017-08-10 15:16:18.548 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2621. 2017-08-10 15:16:18.550 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2622. 2017-08-10 15:16:18.551 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2623. 2017-08-10 15:16:18.556 |-DEBUG [http-nio-8089-exec-10] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 29
  2624. 2017-08-10 15:16:18.581 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2625. 2017-08-10 15:16:18.581 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  2626. 2017-08-10 15:16:18.582 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Preparing: SELECT id,organname,remark,parentid,classtype,organcode,isshow,deptype,status FROM t_sys_organ where 1=1 and parentid = ?
  2627. 2017-08-10 15:16:18.582 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| ==> Parameters: 30(Integer)
  2628. 2017-08-10 15:16:18.583 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2629. 2017-08-10 15:16:18.583 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2630. 2017-08-10 15:16:18.598 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| <== Total: 175
  2631. 2017-08-10 15:16:18.600 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 and t.organid in ( select id from t_sys_organ where parentid = ? ) AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2632. 2017-08-10 15:16:18.601 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 30(Integer), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2633. 2017-08-10 15:16:18.608 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getOrgan [159] -| <== Total: 7
  2634. 2017-08-10 15:16:18.649 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  2635. 2017-08-10 15:16:18.670 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 187
  2636. 2017-08-10 15:16:18.672 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2637. 2017-08-10 15:16:18.672 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2638. 2017-08-10 15:16:18.686 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  2639. 2017-08-10 15:16:18.687 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2640. 2017-08-10 15:16:18.688 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2641. 2017-08-10 15:16:19.309 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2642. 2017-08-10 15:16:19.400 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2643. 2017-08-10 15:16:19.417 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2644. 2017-08-10 15:16:19.418 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2645. 2017-08-10 15:16:19.450 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2646. 2017-08-10 15:16:19.453 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  2647. 2017-08-10 15:16:19.454 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2648. 2017-08-10 15:16:19.731 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  2649. 2017-08-10 15:16:23.923 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2650. 2017-08-10 15:16:23.923 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2651. 2017-08-10 15:16:23.923 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2652. 2017-08-10 15:16:23.923 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2653. 2017-08-10 15:16:23.923 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2654. 2017-08-10 15:16:23.923 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2655. 2017-08-10 15:16:23.951 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2656. 2017-08-10 15:16:23.951 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2657. 2017-08-10 15:16:23.952 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2658. 2017-08-10 15:16:23.952 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2659. 2017-08-10 15:16:23.955 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2660. 2017-08-10 15:16:23.955 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2661. 2017-08-10 15:16:23.956 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2662. 2017-08-10 15:16:23.956 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2663. 2017-08-10 15:16:23.956 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2664. 2017-08-10 15:16:23.956 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2665. 2017-08-10 15:16:23.966 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2666. 2017-08-10 15:16:23.966 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2667. 2017-08-10 15:16:23.984 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2668. 2017-08-10 15:16:23.984 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2669. 2017-08-10 15:16:23.984 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2670. 2017-08-10 15:16:23.985 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2671. 2017-08-10 15:16:23.985 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2672. 2017-08-10 15:16:23.985 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2673. 2017-08-10 15:16:23.985 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2674. 2017-08-10 15:16:23.986 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2675. 2017-08-10 15:16:23.986 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2676. 2017-08-10 15:16:23.993 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2677. 2017-08-10 15:16:23.993 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2678. 2017-08-10 15:16:23.993 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2679. 2017-08-10 15:16:23.994 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2680. 2017-08-10 15:16:23.994 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2681. 2017-08-10 15:16:23.994 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2682. 2017-08-10 15:16:23.994 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2683. 2017-08-10 15:16:23.995 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2684. 2017-08-10 15:16:23.995 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2685. 2017-08-10 15:16:24.014 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2686. 2017-08-10 15:16:24.015 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2687. 2017-08-10 15:16:24.015 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2688. 2017-08-10 15:16:24.015 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2689. 2017-08-10 15:16:24.016 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2690. 2017-08-10 15:16:24.016 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2691. 2017-08-10 15:16:24.017 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2692. 2017-08-10 15:16:24.017 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2693. 2017-08-10 15:16:24.017 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2694. 2017-08-10 15:16:24.023 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2695. 2017-08-10 15:16:24.024 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2696. 2017-08-10 15:16:24.024 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2697. 2017-08-10 15:16:24.024 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2698. 2017-08-10 15:16:24.024 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2699. 2017-08-10 15:16:24.025 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2700. 2017-08-10 15:16:24.025 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2701. 2017-08-10 15:16:24.025 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2702. 2017-08-10 15:16:24.026 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2703. 2017-08-10 15:16:24.041 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2704. 2017-08-10 15:16:24.041 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2705. 2017-08-10 15:16:24.042 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2706. 2017-08-10 15:16:24.050 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2707. 2017-08-10 15:16:24.051 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2708. 2017-08-10 15:16:24.051 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2709. 2017-08-10 15:16:24.084 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2710. 2017-08-10 15:16:24.086 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2711. 2017-08-10 15:16:24.087 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2712. 2017-08-10 15:16:24.088 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2713. 2017-08-10 15:16:24.090 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Preparing: SELECT tab.checkd_all_score AS all_check_score,tab.checked_person AS user_id , tab.checked_dept AS dept_id ,tab.checked_num FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept=?
  2714. 2017-08-10 15:16:24.090 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2715. 2017-08-10 15:16:24.090 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Parameters: 2017/08(String), 2017/08(String), 39(Long)
  2716. 2017-08-10 15:16:24.090 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2717. 2017-08-10 15:16:24.091 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2718. 2017-08-10 15:16:24.092 |-INFO [http-nio-8089-exec-2] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2719. 2017-08-10 15:16:24.094 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedNum [159] -| ==> Preparing: select sum(num) AS num from ( SELECT COUNT(DISTINCT ct.checked_person) as num FROM check_task ct WHERE ct.check_status != 22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.checked_dept = ? AND monthfunc (ct.start_time) = ? AND monthfunc (ct.end_time) = ? GROUP BY ct.checked_dept ) u
  2720. 2017-08-10 15:16:24.095 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedNum [159] -| ==> Parameters: 39(Long), 2017/08(String), 2017/08(String)
  2721. 2017-08-10 15:16:24.095 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2722. 2017-08-10 15:16:24.095 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2723. 2017-08-10 15:16:24.096 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2724. 2017-08-10 15:16:24.096 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2725. 2017-08-10 15:16:24.097 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Preparing: SELECT tab.checkd_all_score AS all_check_score,tab.checked_person AS user_id , tab.checked_dept AS dept_id ,tab.checked_num FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept=?
  2726. 2017-08-10 15:16:24.098 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept=? ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2727. 2017-08-10 15:16:24.098 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2728. 2017-08-10 15:16:24.098 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Parameters: 2017/08(String), 2017/08(String), 39(Long)
  2729. 2017-08-10 15:16:24.098 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 39(Long), 2017/08(String)
  2730. 2017-08-10 15:16:24.099 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2731. 2017-08-10 15:16:24.100 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2732. 2017-08-10 15:16:24.100 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2733. 2017-08-10 15:16:24.122 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2734. 2017-08-10 15:16:24.124 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept=? GROUP BY tab.mth
  2735. 2017-08-10 15:16:24.125 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 39(Long)
  2736. 2017-08-10 15:16:24.147 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 4
  2737. 2017-08-10 15:16:24.147 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2738. 2017-08-10 15:16:24.149 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedNum [159] -| <== Total: 1
  2739. 2017-08-10 15:16:24.151 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept=? ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2740. 2017-08-10 15:16:24.151 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 39(Long), 2017/08(String)
  2741. 2017-08-10 15:16:24.152 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  2742. 2017-08-10 15:16:24.152 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2743. 2017-08-10 15:16:24.197 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 4
  2744. 2017-08-10 15:16:24.199 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 AND t.checked_dept=? ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2745. 2017-08-10 15:16:24.200 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 39(Long), 2017/07(String)
  2746. 2017-08-10 15:16:24.209 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 224
  2747. 2017-08-10 15:16:24.210 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  2748. 2017-08-10 15:16:24.211 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2749. 2017-08-10 15:16:24.229 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 5
  2750. 2017-08-10 15:16:24.246 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| <== Total: 24
  2751. 2017-08-10 15:16:24.247 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 and t.organid = ? AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2752. 2017-08-10 15:16:24.248 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 39(Integer), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2753. 2017-08-10 15:16:24.259 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| <== Total: 24
  2754. 2017-08-10 15:16:24.261 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 and t.organid = ? AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2755. 2017-08-10 15:16:24.261 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 39(Integer), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2756. 2017-08-10 15:16:24.266 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  2757. 2017-08-10 15:16:24.267 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2758. 2017-08-10 15:16:24.268 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2759. 2017-08-10 15:16:24.278 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 24
  2760. 2017-08-10 15:16:24.279 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2761. 2017-08-10 15:16:24.279 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2762. 2017-08-10 15:16:24.294 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 24
  2763. 2017-08-10 15:16:24.296 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2764. 2017-08-10 15:16:24.296 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2765. 2017-08-10 15:16:24.339 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  2766. 2017-08-10 15:16:24.396 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  2767. 2017-08-10 15:16:24.398 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2768. 2017-08-10 15:16:24.399 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2769. 2017-08-10 15:16:24.929 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2770. 2017-08-10 15:16:24.931 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Preparing: SELECT tab.checkd_all_score AS all_check_score,tab.checked_person AS user_id , tab.checked_dept AS dept_id ,tab.checked_num FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 AND tab.checked_dept=?
  2771. 2017-08-10 15:16:24.931 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| ==> Parameters: 2017/07(String), 2017/07(String), 39(Long)
  2772. 2017-08-10 15:16:25.107 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedScoreList [159] -| <== Total: 24
  2773. 2017-08-10 15:16:25.109 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 and t.status>0 and t.organid = ? AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2774. 2017-08-10 15:16:25.109 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| ==> Parameters: 39(Integer), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2775. 2017-08-10 15:16:25.296 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2776. 2017-08-10 15:16:25.401 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsers [159] -| <== Total: 24
  2777. 2017-08-10 15:16:25.402 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2778. 2017-08-10 15:16:25.402 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-06-25 23:00:00.0(Timestamp), 2017-07-25 23:00:00.0(Timestamp)
  2779. 2017-08-10 15:16:25.441 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 0
  2780. 2017-08-10 15:16:25.664 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2781. 2017-08-10 15:16:25.681 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2782. 2017-08-10 15:16:25.681 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2783. 2017-08-10 15:16:25.723 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2784. 2017-08-10 15:16:25.726 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  2785. 2017-08-10 15:16:25.727 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2786. 2017-08-10 15:16:25.989 |-DEBUG [http-nio-8089-exec-2] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522
  2787. 2017-08-10 15:16:27.709 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2788. 2017-08-10 15:16:27.711 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2789. 2017-08-10 15:16:27.712 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2790. 2017-08-10 15:16:27.739 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2791. 2017-08-10 15:16:27.739 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2792. 2017-08-10 15:16:27.739 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2793. 2017-08-10 15:16:27.739 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2794. 2017-08-10 15:16:27.742 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2795. 2017-08-10 15:16:27.742 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2796. 2017-08-10 15:16:27.760 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2797. 2017-08-10 15:16:27.760 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2798. 2017-08-10 15:16:27.760 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2799. 2017-08-10 15:16:27.769 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2800. 2017-08-10 15:16:27.769 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2801. 2017-08-10 15:16:27.769 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2802. 2017-08-10 15:16:27.769 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2803. 2017-08-10 15:16:27.770 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2804. 2017-08-10 15:16:27.770 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2805. 2017-08-10 15:16:27.770 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2806. 2017-08-10 15:16:27.770 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2807. 2017-08-10 15:16:27.770 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2808. 2017-08-10 15:16:27.787 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2809. 2017-08-10 15:16:27.788 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2810. 2017-08-10 15:16:27.791 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2811. 2017-08-10 15:16:27.791 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Preparing: select u.*,o.parentid as road_manager_id from t_sys_users u left join t_sys_organ o on u.organid=o.id where username= ? and u.status >0
  2812. 2017-08-10 15:16:27.791 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2813. 2017-08-10 15:16:27.791 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| ==> Parameters: wenhongquan(String)
  2814. 2017-08-10 15:16:27.799 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2815. 2017-08-10 15:16:27.800 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2816. 2017-08-10 15:16:27.800 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2817. 2017-08-10 15:16:27.800 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2818. 2017-08-10 15:16:27.800 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2819. 2017-08-10 15:16:27.801 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2820. 2017-08-10 15:16:27.805 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2821. 2017-08-10 15:16:27.805 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2822. 2017-08-10 15:16:27.806 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2823. 2017-08-10 15:16:27.816 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2824. 2017-08-10 15:16:27.817 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2825. 2017-08-10 15:16:27.817 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2826. 2017-08-10 15:16:27.821 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2827. 2017-08-10 15:16:27.821 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.findByUserName [159] -| <== Total: 1
  2828. 2017-08-10 15:16:27.822 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2829. 2017-08-10 15:16:27.822 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Preparing: select p.*,spr.permission_type from sys_permission p LEFT JOIN sys_role_user sru on sru.sys_user_id = ? LEFT JOIN sys_role r on sru.sys_role_id=r.id LEFT JOIN sys_permission_role spr on spr.role_id=r.id where p.id =spr.permission_id
  2830. 2017-08-10 15:16:27.822 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2831. 2017-08-10 15:16:27.822 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| ==> Parameters: 2040(Integer)
  2832. 2017-08-10 15:16:27.826 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2833. 2017-08-10 15:16:27.828 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2834. 2017-08-10 15:16:27.832 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2835. 2017-08-10 15:16:27.847 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2836. 2017-08-10 15:16:27.848 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2837. 2017-08-10 15:16:27.848 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2838. 2017-08-10 15:16:27.852 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2839. 2017-08-10 15:16:27.853 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.PermissionDao.findByAdminUserId [159] -| <== Total: 85
  2840. 2017-08-10 15:16:27.853 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2841. 2017-08-10 15:16:27.854 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2842. 2017-08-10 15:16:27.854 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Preparing: select * from sys_role where id in (select sys_role_id from sys_role_user where sys_user_id=?)
  2843. 2017-08-10 15:16:27.855 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| ==> Parameters: 2040(Integer)
  2844. 2017-08-10 15:16:27.870 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2845. 2017-08-10 15:16:27.872 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2846. 2017-08-10 15:16:27.872 |-INFO [http-nio-8089-exec-7] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2847. 2017-08-10 15:16:27.872 |-INFO [http-nio-8089-exec-1] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2848. 2017-08-10 15:16:27.874 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2849. 2017-08-10 15:16:27.874 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2850. 2017-08-10 15:16:27.874 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2851. 2017-08-10 15:16:27.874 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2852. 2017-08-10 15:16:27.875 |-INFO [http-nio-8089-exec-4] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2853. 2017-08-10 15:16:27.875 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2854. 2017-08-10 15:16:27.876 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  2855. 2017-08-10 15:16:27.877 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2856. 2017-08-10 15:16:27.877 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2857. 2017-08-10 15:16:27.880 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2858. 2017-08-10 15:16:27.882 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.RoleDao.getRoleByUser [159] -| <== Total: 2
  2859. 2017-08-10 15:16:27.903 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2860. 2017-08-10 15:16:27.906 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2861. 2017-08-10 15:16:27.907 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/08(String)
  2862. 2017-08-10 15:16:27.909 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2863. 2017-08-10 15:16:27.911 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num , tab.mth FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.mth
  2864. 2017-08-10 15:16:27.912 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| ==> Parameters: 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 2016-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2865. 2017-08-10 15:16:27.918 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2866. 2017-08-10 15:16:27.919 |-INFO [http-nio-8089-exec-3] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2867. 2017-08-10 15:16:27.920 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2868. 2017-08-10 15:16:27.921 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.id not in ( select t_s_y.id from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime and date_sub(t_p.starttime,interval 1 hour) <= ? ) AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2869. 2017-08-10 15:16:27.921 |-INFO [http-nio-8089-exec-8] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2870. 2017-08-10 15:16:27.921 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2871. 2017-08-10 15:16:27.923 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2872. 2017-08-10 15:16:27.924 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2873. 2017-08-10 15:16:27.927 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [73] -| authenticated user wenhongquan, setting security context
  2874. 2017-08-10 15:16:27.927 |-INFO [http-nio-8089-exec-9] com.xintong.system.securityTools.JwtAuthenticationTokenFilter [56] -| checking authentication wenhongquan
  2875. 2017-08-10 15:16:27.929 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Preparing: SELECT sum(tab.checkd_all_score) AS all_check_score , sum(tab.checked_num) AS checked_num ,tab.checked_dept AS dept_id FROM ( SELECT check_num_t.checked_num , check_num_t.mth, IFNULL(checked_score_t.checkd_all_score ,0) as checkd_all_score, check_num_t.checked_person,check_num_t.checked_dept FROM ( SELECT COUNT(t.checked_person) AS checked_num, t.checked_person, monthfunc (t.start_time) AS mth, t.id,t.checked_dept FROM check_task t WHERE t.checked_person IS NOT NULL AND t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? GROUP BY t.checked_person, mth ) check_num_t LEFT JOIN ( SELECT monthfunc (t.start_time) AS mth, sum(m.check_item_score) AS checkd_all_score, m.* FROM check_score m INNER JOIN ( select * From check_task t where t.check_status != 22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc (t.start_time) =? ) t ON m.task_id = t.id WHERE 1=1 GROUP BY mth , m.checked_person ) checked_score_t ON checked_score_t.checked_person = check_num_t.checked_person AND check_num_t.mth = checked_score_t.mth ) tab WHERE 1=1 GROUP BY tab.checked_dept
  2876. 2017-08-10 15:16:27.930 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| ==> Parameters: 2017/08(String), 2017/08(String)
  2877. 2017-08-10 15:16:27.935 |-DEBUG [http-nio-8089-exec-7] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  2878. 2017-08-10 15:16:27.954 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2879. 2017-08-10 15:16:27.955 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Preparing: SELECT COUNT(DISTINCT( t.checked_person )) AS checked_people_num , COUNT(t.checked_person) AS checked_num ,t.checked_dept AS dept_id FROM check_task t left join t_sys_users u on t.checked_person = u.id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? AND u.positionid in ( ? , ? , ? , ? ) GROUP BY t.checked_dept
  2880. 2017-08-10 15:16:27.956 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp), 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2881. 2017-08-10 15:16:27.965 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 81
  2882. 2017-08-10 15:16:27.966 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Preparing: SELECT count(DISTINCT m.task_id) AS checked_num , sum(m.check_item_score) AS all_check_score , m.parent_id,m.checked_dept as dept_id,(select parentid from t_sys_organ where id=m.checked_dept ) as parent_dept_id,m.check_item_name AS name FROM check_task t INNER JOIN ( select ci.name AS check_item_name , t.* FROM ( SELECT ci.parent_id, t.* from check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id WHERE 1=1 ) t LEFT JOIN check_item ci ON t.parent_id = ci.id ) m ON t.id = m.task_id where t.check_status !=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND monthfunc( t.start_time ) = ? GROUP BY m.parent_id,m.checked_dept order by m.checked_dept
  2883. 2017-08-10 15:16:27.967 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| ==> Parameters: 2017/07(String)
  2884. 2017-08-10 15:16:28.012 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckNum [159] -| <== Total: 21
  2885. 2017-08-10 15:16:28.014 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Preparing: SELECT u.checked_person AS user_id , u.checked_dept AS dept_id ,u.parent_id AS item_id ,sum(u.score) AS score ,s.name FROM ( SELECT t.checked_person , t.checked_dept,ci.parent_id, t.check_item_score AS score FROM check_score t LEFT JOIN check_item ci ON t.check_item_id = ci.id LEFT JOIN check_task ct ON ct.id = t.task_id WHERE 1=1 and ct.check_status!=22 and ct.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND ct.start_time >= ? AND ct.end_time < ? ) u LEFT JOIN check_item s ON u.parent_id = s.id GROUP BY checked_person,id
  2886. 2017-08-10 15:16:28.015 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2887. 2017-08-10 15:16:28.029 |-DEBUG [http-nio-8089-exec-1] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedItemScoreInfo [159] -| <== Total: 97
  2888. 2017-08-10 15:16:28.059 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectStatistics [159] -| <== Total: 224
  2889. 2017-08-10 15:16:28.060 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Preparing: SELECT COUNT(1) AS checked_num , t.checked_person AS user_id FROM check_task t WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_person
  2890. 2017-08-10 15:16:28.061 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2891. 2017-08-10 15:16:28.079 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2892. 2017-08-10 15:16:28.080 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2893. 2017-08-10 15:16:28.080 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2894. 2017-08-10 15:16:28.086 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationScoreInfo [159] -| <== Total: 21
  2895. 2017-08-10 15:16:28.086 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Preparing: SELECT t.organid AS dept_id , count(1) AS people_num,tf.name FROM t_sys_users t INNER JOIN t_br_layer_fee_station tf ON t.organid = tf.organ_id WHERE t.status >0 AND t.positionid in (1,4,5,6) GROUP BY t.organid ORDER BY t.organid
  2896. 2017-08-10 15:16:28.087 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| ==> Parameters:
  2897. 2017-08-10 15:16:28.096 |-DEBUG [http-nio-8089-exec-4] com.xintong.visualinspection.dao.master.StatisticsDao.selectYearScoreInfo [159] -| <== Total: 3
  2898. 2017-08-10 15:16:28.110 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2899. 2017-08-10 15:16:28.112 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Preparing: SELECT COUNT(1) AS people_num,s.ORGAN_ID AS dept_id, s.name from t_sys_users t LEFT JOIN t_br_layer_fee_station s ON t.ORGANID = s.ORGAN_ID WHERE 1=1 AND t.positionid in ( ? , ? , ? , ? ) AND s.ORGAN_ID IS NOT NULL GROUP BY s.ORGAN_ID
  2900. 2017-08-10 15:16:28.112 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2901. 2017-08-10 15:16:28.116 |-DEBUG [http-nio-8089-exec-9] com.xintong.visualinspection.dao.cluster.UserInfoDao.getUsersCountList [159] -| <== Total: 21
  2902. 2017-08-10 15:16:28.118 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectCheckedTimes [159] -| <== Total: 522
  2903. 2017-08-10 15:16:28.119 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Preparing: SELECT t.* , fs.name AS fee_station_name,tso.parentid AS parent_organid ,deleted_user.starttime AS invalidtime FROM t_sys_users t LEFT JOIN t_br_layer_fee_station fs ON t.organid = fs.organ_id LEFT JOIN t_sys_organ tso ON t.organid = tso.id LEFT JOIN (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on deleted_user.id = t.id where 1=1 AND t.positionid in ( ? , ? , ? , ? ) order by workno
  2904. 2017-08-10 15:16:28.120 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| ==> Parameters: 1(Integer), 4(Integer), 5(Integer), 6(Integer)
  2905. 2017-08-10 15:16:28.142 |-DEBUG [http-nio-8089-exec-8] com.xintong.visualinspection.dao.cluster.DepartmentDao.selectFeeStationGroup [159] -| <== Total: 21
  2906. 2017-08-10 15:16:28.218 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.UserInfoDao.getAllUsers [159] -| <== Total: 575
  2907. 2017-08-10 15:16:28.220 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Preparing: SELECT * from check_task a LEFT JOIN check_score b on a.id=b.task_id where a.monitor_user_id != -1 and a.monitor_user_id != 0 and a.start_time >= ? and a.end_time < ? and a.check_status !=22 and a.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time )
  2908. 2017-08-10 15:16:28.221 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2909. 2017-08-10 15:16:28.853 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectMList [159] -| <== Total: 1410
  2910. 2017-08-10 15:16:28.871 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Preparing: SELECT *, b.parentid FROM t_br_layer_fee_station a left join t_sys_organ b on a.organ_id=b.id
  2911. 2017-08-10 15:16:28.872 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| ==> Parameters:
  2912. 2017-08-10 15:16:28.903 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.cluster.DepartmentDao.getAllFS [159] -| <== Total: 21
  2913. 2017-08-10 15:16:28.907 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Preparing: SELECT IFNULL(sum(ct.check_item_score),0) AS score ,t.checked_dept AS dept_id ,t.checked_person AS user_id FROM check_task t LEFT JOIN check_score ct ON t.id = ct.task_id WHERE 1=1 and t.check_status!=22 and t.id not in ( select id from ( select check_task.*,deleted_user.starttime as u_delet_time from check_task left join (select t_s_y.id,date_sub(t_p.starttime,interval 1 hour) as starttime from t_sys_users t_s_y LEFT join (select starttime,endtime from check_task_period ) t_p on DELETE_TIME >= starttime and DELETE_TIME < endtime WHERE STATUS =-1 and DELETE_TIME >= t_p.starttime and DELETE_TIME < t_p.endtime ) deleted_user on check_task.checked_person = deleted_user.id ) v_task where v_task.u_delet_time is not null and v_task.end_time > v_task.u_delet_time ) AND t.start_time >= ? AND t.end_time < ? GROUP BY t.checked_dept,t.checked_person
  2914. 2017-08-10 15:16:28.907 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| ==> Parameters: 2017-07-25 23:00:00.0(Timestamp), 2017-08-25 23:00:00.0(Timestamp)
  2915. 2017-08-10 15:16:29.168 |-DEBUG [http-nio-8089-exec-3] com.xintong.visualinspection.dao.master.StatisticsDao.selectFeeStationCheckedScore [159] -| <== Total: 522