info.2023-08-26.log 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036
  1. 15:19:31.816 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.0.Final
  2. 15:19:31.872 [restartedMain] INFO com.zhyc.xps.XPSApplication - Starting XPSApplication using Java 17.0.6 with PID 13400 (E:\zhycnewprj\iotplatform\xps-server-3\xps-application\target\classes started by qzz19 in E:\zhycnewprj\iotplatform\xps-server-3)
  3. 15:19:31.872 [restartedMain] INFO com.zhyc.xps.XPSApplication - The following 1 profile is active: "local"
  4. 15:19:31.929 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
  5. 15:19:31.930 [restartedMain] INFO o.s.b.d.e.DevToolsPropertyDefaultsPostProcessor - For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
  6. 15:19:33.971 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode
  7. 15:19:33.975 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode.
  8. 15:19:34.064 [restartedMain] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 75 ms. Found 0 Redis repository interfaces.
  9. 15:19:34.242 [restartedMain] INFO o.s.i.c.DefaultConfiguringBeanFactoryPostProcessor - No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
  10. 15:19:34.261 [restartedMain] INFO o.s.i.c.DefaultConfiguringBeanFactoryPostProcessor - No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
  11. 15:19:35.074 [restartedMain] INFO io.undertow.servlet - Initializing Spring embedded WebApplicationContext
  12. 15:19:35.074 [restartedMain] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3144 ms
  13. 15:19:37.584 [restartedMain] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
  14. 15:19:37.597 [restartedMain] INFO o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
  15. 15:19:37.597 [restartedMain] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.2 created.
  16. 15:19:37.597 [restartedMain] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
  17. 15:19:37.598 [restartedMain] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.3.2) 'quartzScheduler' with instanceId 'NON_CLUSTERED'
  18. Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  19. NOT STARTED.
  20. Currently in standby mode.
  21. Number of jobs executed: 0
  22. Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  23. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
  24. 15:19:37.598 [restartedMain] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'quartzScheduler' initialized from an externally provided properties instance.
  25. 15:19:37.598 [restartedMain] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.2
  26. 15:19:37.598 [restartedMain] INFO org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.SpringBeanJobFactory@5d75b344
  27. 15:19:39.331 [restartedMain] INFO o.s.b.d.a.OptionalLiveReloadServer - LiveReload server is running on port 35729
  28. 15:19:39.338 [restartedMain] INFO o.s.b.a.e.web.EndpointLinksResolver - Exposing 15 endpoint(s) beneath base path '/actuator/z'
  29. 15:19:39.486 [restartedMain] INFO io.undertow.websockets.jsr - UT026003: Adding annotated server endpoint class com.zhyc.xps.common.ws.WebSocketServer for path /websocket/link
  30. 15:19:39.518 [restartedMain] INFO o.s.i.endpoint.EventDrivenConsumer - Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
  31. 15:19:39.518 [restartedMain] INFO o.s.i.c.PublishSubscribeChannel - Channel 'xps-server.errorChannel' has 1 subscriber(s).
  32. 15:19:39.519 [restartedMain] INFO o.s.i.endpoint.EventDrivenConsumer - started bean '_org.springframework.integration.errorLogger'
  33. 15:19:39.546 [restartedMain] INFO io.undertow - starting server: Undertow - 2.3.4.Final
  34. 15:19:39.558 [restartedMain] INFO org.xnio - XNIO version 3.8.8.Final
  35. 15:19:39.569 [restartedMain] INFO org.xnio.nio - XNIO NIO Implementation Version 3.8.8.Final
  36. 15:19:39.603 [restartedMain] INFO org.jboss.threads - JBoss Threads version 3.5.0.Final
  37. 15:19:39.657 [restartedMain] INFO o.s.b.w.e.undertow.UndertowWebServer - Undertow started on port(s) 1788 (http)
  38. 15:19:39.659 [restartedMain] INFO o.s.s.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now
  39. 15:19:39.659 [restartedMain] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED started.
  40. 15:19:39.685 [restartedMain] INFO com.zhyc.xps.XPSApplication - Started XPSApplication in 8.375 seconds (process running for 15.464)
  41. 15:19:39.688 [restartedMain] INFO com.zhyc.xps.sys.job.InitSystemJob - 初始化系统定时任务
  42. 15:19:39.695 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - DatebookHikariCP - Starting...
  43. 15:19:40.096 [restartedMain] INFO p6spy - 2023-08-26 15:19:40 | Time Consuming: 13 ms | Connection: statement-0 | SQL: SELECT 1
  44. 15:19:40.100 [restartedMain] INFO com.zaxxer.hikari.pool.HikariPool - DatebookHikariCP - Added connection com.p6spy.engine.wrapper.ConnectionWrapper@2fbd250d
  45. 15:19:40.103 [restartedMain] INFO com.zaxxer.hikari.HikariDataSource - DatebookHikariCP - Start completed.
  46. 15:19:40.169 [restartedMain] INFO p6spy - 2023-08-26 15:19:40 | Time Consuming: 4 ms | Connection: statement-0 | SQL: SELECT
  47. A.job_id,
  48. A.job_title,
  49. A.job_desc,
  50. A.status,
  51. A.job_type,
  52. A.job_code,
  53. A.job_cron,
  54. A.job_class_id,
  55. B.job_class,
  56. A.cycle_title,
  57. A.cycle_period,
  58. A.cycle_unit
  59. FROM job AS A
  60. LEFT JOIN job_class AS B ON (A.job_class_id = B.job_class_id)
  61. WHERE A.deleted_flag = 0
  62. AND A.status = 1
  63. ORDER BY A.job_id ASC
  64. 15:19:40.190 [restartedMain] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED started.
  65. 15:19:40.192 [restartedMain] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED started.
  66. 15:21:17.967 [XNIO-1 task-2] INFO io.undertow.servlet - Initializing Spring DispatcherServlet 'dispatcherServlet'
  67. 15:21:17.968 [XNIO-1 task-2] INFO o.s.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
  68. 15:21:17.972 [XNIO-1 task-2] INFO o.s.web.servlet.DispatcherServlet - Completed initialization in 4 ms
  69. 15:21:18.101 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 12 ms | Connection: statement-0 | SQL: SELECT 1
  70. 15:21:18.130 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 13 ms | Connection: statement-0 | SQL: SELECT
  71. client_id,
  72. client_title,
  73. client_app_id,
  74. client_app_key,
  75. client_app_secret,
  76. client_desc,
  77. status,
  78. is_fixed
  79. FROM client
  80. WHERE deleted_flag = 0
  81. AND client_app_id = '10001'
  82. AND client_app_key = '82a8bf439373e305'
  83. 15:21:18.179 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 12 ms | Connection: statement-0 | SQL: SELECT
  84. A.oc_id,
  85. B.oc_type_id,
  86. B.oc_name,
  87. A.account_id,
  88. A.account_name,
  89. A.account_real_name,
  90. A.password,
  91. A.account_type,
  92. A.account_staff_no,
  93. A.account_phone,
  94. A.account_last_ip,
  95. A.account_loc,
  96. A.status,
  97. A.account_avatar,
  98. A.account_photo,
  99. A.account_real_name,
  100. A.account_intro,
  101. A.wx_id,
  102. A.is_fixed
  103. FROM account AS A
  104. LEFT JOIN oc AS B ON (A.oc_id = B.oc_id )
  105. WHERE A.deleted_flag = 0
  106. AND (A.account_name = 'sxky'
  107. OR A.account_phone = 'sxky'
  108. OR A.account_mail = 'sxky'
  109. OR A.account_staff_no = 'sxky')
  110. 15:21:18.198 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 14 ms | Connection: statement-0 | SQL: SELECT
  111. A.oc_id,
  112. A.oc_name,
  113. A.oc_type_id,
  114. A.root_id,
  115. A.parent_id,
  116. A.admin_id,
  117. B.account_name AS admin_name,
  118. A.group_id,
  119. A.node_left,
  120. A.node_right,
  121. A.node_level,
  122. A.is_leaf,
  123. A.status,
  124. A.if_lic
  125. FROM oc AS A
  126. LEFT JOIN account AS B ON (A.oc_id = B.oc_id AND A.admin_id = B.account_id)
  127. WHERE A.oc_id = 406283
  128. 15:21:18.213 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 13 ms | Connection: statement-0 | SQL: SELECT
  129. A.rm_id,
  130. A.role_id,
  131. B.role_type_id,
  132. B.role_code,
  133. B.role_name,
  134. A.account_id
  135. FROM s_role_member AS A
  136. LEFT JOIN s_role AS B ON (A.role_id = B.role_id)
  137. WHERE account_id = 406283
  138. LIMIT 1
  139. 15:21:18.222 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 6 ms | Connection: statement-0 | SQL: SELECT
  140. A.gm_id,
  141. A.oc_id,
  142. A.group_id,
  143. B.group_name,
  144. B.node_left ,
  145. B.node_right,
  146. A.account_id
  147. FROM s_group_member AS A
  148. LEFT JOIN s_group AS B ON (A.oc_id = B.oc_id AND A.group_id = B.group_id)
  149. WHERE B.deleted_flag = 0
  150. AND A.oc_id = 406283
  151. AND A.account_id = 406283
  152. LIMIT 1
  153. 15:21:18.235 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 10 ms | Connection: statement-0 | SQL: SELECT
  154. A.gmp_id,
  155. A.oc_id,
  156. A.group_id,
  157. B.group_name,
  158. A.account_id,
  159. D.account_name,
  160. D.account_real_name,
  161. A.position_id,
  162. C.position_name
  163. FROM s_group_member_position A
  164. LEFT JOIN s_group B ON (A.oc_id = B.oc_id AND A.group_id = B.group_id)
  165. LEFT JOIN s_position C ON (A.oc_id = C.oc_id AND A.position_id = C.position_id)
  166. LEFT JOIN account D ON (A.oc_id = D.oc_id AND A.account_id = D.account_id)
  167. WHERE A.deleted_flag = 0
  168. AND A.oc_id = 406283
  169. AND A.group_id = 406283
  170. AND A.account_id = 406283
  171. LIMIT 1
  172. 15:21:18.248 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:18 | Time Consuming: 10 ms | Connection: statement-0 | SQL: SELECT
  173. A.gmpg_id,
  174. A.oc_id,
  175. A.group_id,
  176. A.account_id,
  177. A.position_id,
  178. A.grant_group_id,
  179. B.group_name AS grant_group_name
  180. FROM s_group_member_position_grant A
  181. LEFT JOIN s_group B ON(A.oc_id = B.oc_id AND A.grant_group_id = B.group_id)
  182. WHERE A.deleted_flag = 0
  183. AND A.oc_id = 406283
  184. AND A.group_id = 406283
  185. AND A.account_id = 406283
  186. AND A.position_id = 406283
  187. LIMIT 1
  188. 15:21:19.298 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:19 | Time Consuming: 15 ms | Connection: statement-0 | SQL: SELECT
  189. client_id,
  190. client_title,
  191. client_app_id,
  192. client_app_key,
  193. client_app_secret,
  194. client_desc,
  195. status,
  196. is_fixed
  197. FROM client
  198. WHERE deleted_flag = 0
  199. AND client_app_id = '10001'
  200. AND client_app_key = '82a8bf439373e305'
  201. 15:21:19.351 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:19 | Time Consuming: 15 ms | Connection: statement-0 | SQL: SELECT
  202. A.client_id,
  203. A.role_id,
  204. A.permit_id,
  205. A.permit_title,
  206. A.permit_code,
  207. A.permit_entry,
  208. A.permit_desc,
  209. A.permit_type,
  210. A.parent_id,
  211. A.root_id,
  212. A.sort_no,
  213. A.is_home
  214. FROM s_role_permit AS A
  215. WHERE 1 = 1
  216. AND A.client_id = 2
  217. AND A.role_id = 6
  218. ORDER BY A.parent_id ASC ,A.sort_no ASC
  219. 15:21:19.633 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:19 | Time Consuming: 36 ms | Connection: statement-0 | SQL: SELECT count(*)
  220. FROM msg AS M
  221. WHERE M.oc_id = 406283
  222. AND (
  223. EXISTS (
  224. SELECT 1 FROM msg_to TT
  225. WHERE M.oc_id = TT.oc_id AND M.msg_id = TT.msg_id AND TT.msg_to_id = 406283 AND TT.status=0
  226. ) OR
  227. EXISTS (
  228. SELECT 1 FROM msg_cc CC
  229. WHERE M.oc_id = CC.oc_id AND M.msg_id = CC.msg_id AND CC.msg_cc_id = 406283 AND CC.status=0
  230. )
  231. )
  232. 15:21:20.297 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:20 | Time Consuming: 10 ms | Connection: statement-0 | SQL: SELECT 1
  233. 15:21:20.309 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:20 | Time Consuming: 10 ms | Connection: statement-0 | SQL: SELECT count(0) FROM goaf_sensor WHERE oc_id = 406283
  234. 15:21:20.324 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:20 | Time Consuming: 11 ms | Connection: statement-0 | SQL: SELECT *
  235. FROM goaf_sensor
  236. where oc_id = 406283
  237. LIMIT 10
  238. 15:21:31.680 [XNIO-1 task-2] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 4 ms | Connection: statement-0 | SQL: SELECT 1
  239. 15:21:31.681 [XNIO-1 task-4] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 4 ms | Connection: statement-2 | SQL: SELECT 1
  240. 15:21:31.682 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 5 ms | Connection: statement-1 | SQL: SELECT 1
  241. 15:21:31.682 [XNIO-1 task-5] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 4 ms | Connection: statement-3 | SQL: SELECT 1
  242. 15:21:31.691 [XNIO-1 task-4] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 5 ms | Connection: statement-2 | SQL: SELECT
  243. oc_id,
  244. map_id,
  245. map_title,
  246. map_desc,
  247. map_cat_id,
  248. map_raster_layer,
  249. map_type_id
  250. FROM ent_map
  251. WHERE 1 = 1 AND deleted_flag = 0
  252. AND oc_id = 406283
  253. 15:21:31.692 [XNIO-1 task-3] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 4 ms | Connection: statement-1 | SQL: SELECT
  254. IFNULL(SUM( CASE WHEN hdanger_level = 0 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelLowerNum',
  255. IFNULL(SUM( CASE WHEN hdanger_level = 1 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelGeneralNum',
  256. IFNULL(SUM( CASE WHEN hdanger_level = 2 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelMajorNum',
  257. IFNULL(SUM( CASE WHEN hdanger_level = 3 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelSeriousNum',
  258. IFNULL(SUM( CASE WHEN status = 0 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusTosubmitNum',
  259. IFNULL(SUM( CASE WHEN status = 1 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusToforreviewlNum',
  260. IFNULL(SUM( CASE WHEN status = 2 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusTorectifyNum',
  261. IFNULL(SUM( CASE WHEN status = 3 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusToacceptNum',
  262. IFNULL(SUM( CASE WHEN status = 4 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusCompleteNum',
  263. IFNULL(SUM( CASE WHEN status = -1 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusCancelNum'
  264. FROM goaf_hdanger AS A
  265. WHERE A.oc_id = 406283 AND A.status != -1
  266. AND A.hdanger_type = '1'
  267. ORDER BY A.submit_time DESC
  268. 15:21:31.692 [XNIO-1 task-2] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 4 ms | Connection: statement-0 | SQL: SELECT
  269. IFNULL(SUM( CASE WHEN hdanger_level = 0 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelLowerNum',
  270. IFNULL(SUM( CASE WHEN hdanger_level = 1 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelGeneralNum',
  271. IFNULL(SUM( CASE WHEN hdanger_level = 2 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelMajorNum',
  272. IFNULL(SUM( CASE WHEN hdanger_level = 3 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerLevelSeriousNum',
  273. IFNULL(SUM( CASE WHEN status = 0 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusTosubmitNum',
  274. IFNULL(SUM( CASE WHEN status = 1 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusToforreviewlNum',
  275. IFNULL(SUM( CASE WHEN status = 2 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusTorectifyNum',
  276. IFNULL(SUM( CASE WHEN status = 3 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusToacceptNum',
  277. IFNULL(SUM( CASE WHEN status = 4 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusCompleteNum',
  278. IFNULL(SUM( CASE WHEN status = -1 THEN 1 ELSE 0 END ), 0) AS 'goafHdangerStatusCancelNum'
  279. FROM goaf_hdanger AS A
  280. WHERE A.oc_id = 406283 AND A.status != -1
  281. AND A.hdanger_type = '0'
  282. ORDER BY A.submit_time DESC
  283. 15:21:31.695 [XNIO-1 task-5] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 7 ms | Connection: statement-3 | SQL: SELECT
  284. A.hdanger_id,
  285. A.oc_id,
  286. A.goaf_id,
  287. A.hdanger_title,
  288. A.hdanger_level,
  289. A.hdanger_type,
  290. A.checklist_id,
  291. A.hdanger_desc,
  292. A.submit_group_id,
  293. A.submit_group_name,
  294. A.submit_position_id,
  295. A.submit_position_name,
  296. A.submit_account_id,
  297. A.submit_account_name,
  298. A.submit_time,
  299. A.review_group_id,
  300. A.review_group_name,
  301. A.review_position_id,
  302. A.review_position_name,
  303. A.review_account_id,
  304. A.review_account_name,
  305. A.danger_deadline,
  306. A.review_time,
  307. A.review_remark,
  308. A.rectify_group_id,
  309. A.rectify_group_name,
  310. A.rectify_position_id,
  311. A.rectify_position_name,
  312. A.rectify_account_id,
  313. A.rectify_account_name,
  314. A.rectify_time,
  315. A.danger_reason,
  316. A.rectify_measure,
  317. A.rectify_remark,
  318. A.accept_group_id,
  319. A.accept_group_name,
  320. A.accept_position_id,
  321. A.accept_position_name,
  322. A.accept_account_id,
  323. A.accept_account_name,
  324. A.accept_time,
  325. A.accept_remark,
  326. A.finish_time,
  327. A.status,
  328. B.wf_def_id,
  329. B.wf_ins_id,
  330. B.wf_ins_title,
  331. B.cur_group_id,
  332. B.cur_group_name,
  333. B.cur_position_id,
  334. B.cur_position_name,
  335. B.cur_account_id,
  336. B.cur_account_name,
  337. B.cur_activity_ins_id,
  338. B.cur_activity_code,
  339. B.cur_activity_title,
  340. B.cur_form_code,
  341. B.cur_activity_begin_time
  342. FROM goaf_hdanger AS A
  343. LEFT JOIN wf_ins AS B ON A.hdanger_id = B.wf_ins_id
  344. WHERE A.oc_id = 406283
  345. AND A.hdanger_type = '1'
  346. ORDER BY A.submit_time DESC
  347. 15:21:31.732 [XNIO-1 task-2] INFO p6spy - 2023-08-26 15:21:31 | Time Consuming: 4 ms | Connection: statement-0 | SQL: SELECT A.goaflayer_id,
  348. A.oc_id,
  349. A.goaf_id,
  350. A.goaf_name,
  351. A.map_id,
  352. A.layer_id,
  353. B.layer_cat_id,
  354. B.layer_title,
  355. B.layer_marker,
  356. B.layer_vector,
  357. B.layer_vector_type
  358. FROM goaf_map_layer AS A
  359. left join ent_map_layer AS B ON B.layer_id = A.layer_id
  360. WHERE A.oc_id = 406283
  361. AND A.map_id = '406283'
  362. 16:19:44.677 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:44 | Time Consuming: 5 ms | Connection: statement-35 | SQL: SELECT 1
  363. 16:19:44.720 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:44 | Time Consuming: 38 ms | Connection: statement-35 | SQL: SELECT count(*)
  364. FROM msg AS M
  365. WHERE M.oc_id = 406283
  366. AND (
  367. EXISTS (
  368. SELECT 1 FROM msg_to TT
  369. WHERE M.oc_id = TT.oc_id AND M.msg_id = TT.msg_id AND TT.msg_to_id = 406283 AND TT.status=0
  370. ) OR
  371. EXISTS (
  372. SELECT 1 FROM msg_cc CC
  373. WHERE M.oc_id = CC.oc_id AND M.msg_id = CC.msg_id AND CC.msg_cc_id = 406283 AND CC.status=0
  374. )
  375. )
  376. 16:19:45.265 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:45 | Time Consuming: 4 ms | Connection: statement-35 | SQL: SELECT 1
  377. 16:19:45.271 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:45 | Time Consuming: 4 ms | Connection: statement-35 | SQL: SELECT count(0) FROM goaf_sensor WHERE oc_id = 406283
  378. 16:19:45.276 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:45 | Time Consuming: 5 ms | Connection: statement-35 | SQL: SELECT *
  379. FROM goaf_sensor
  380. where oc_id = 406283
  381. LIMIT 10
  382. 16:19:48.497 [XNIO-1 task-5] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 4 ms | Connection: statement-36 | SQL: SELECT 1
  383. 16:19:48.497 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 4 ms | Connection: statement-35 | SQL: SELECT 1
  384. 16:19:48.506 [XNIO-1 task-5] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 4 ms | Connection: statement-36 | SQL: SELECT *
  385. FROM goaf_syscfg
  386. WHERE oc_id = 406283
  387. 16:19:48.507 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 3 ms | Connection: statement-35 | SQL: SELECT count(0) FROM goaf_devinfo WHERE oc_id = 406283
  388. 16:19:48.507 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 3 ms | Connection: statement-37 | SQL: SELECT 1
  389. 16:19:48.513 [XNIO-1 task-2] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 5 ms | Connection: statement-35 | SQL: SELECT *
  390. FROM goaf_devinfo
  391. where oc_id = 406283
  392. LIMIT 10
  393. 16:19:48.517 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:48 | Time Consuming: 4 ms | Connection: statement-37 | SQL: SELECT *
  394. FROM goaf_baseinfo
  395. WHERE oc_id = 406283
  396. 16:19:52.022 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 3 ms | Connection: statement-37 | SQL: SELECT 1
  397. 16:19:52.033 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 5 ms | Connection: statement-37 | SQL: SELECT *
  398. FROM goaf_devinfo
  399. where oc_id = 406283
  400. 16:19:52.051 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 5 ms | Connection: statement-37 | SQL: SELECT *
  401. FROM goaf_sensor
  402. where oc_id = 406283
  403. AND goaf_dev_name = 'other'
  404. 16:19:52.061 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 5 ms | Connection: statement-37 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  405. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  406. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  407. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  408. f_alarm_temperature, goaf_datareport_time
  409. FROM goaf_sensordata
  410. WHERE oc_id = 406283
  411. AND goaf_sensor_id = 442129
  412. ORDER BY goaf_datareport_time DESC
  413. LIMIT 1
  414. 16:19:52.068 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 4 ms | Connection: statement-37 | SQL: SELECT *
  415. FROM goaf_sensor
  416. where oc_id = 406283
  417. AND goaf_dev_name = 'waterpump'
  418. 16:19:52.076 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 4 ms | Connection: statement-37 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  419. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  420. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  421. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  422. f_alarm_temperature, goaf_datareport_time
  423. FROM goaf_sensordata
  424. WHERE oc_id = 406283
  425. AND goaf_sensor_id = 442136
  426. ORDER BY goaf_datareport_time DESC
  427. LIMIT 1
  428. 16:19:52.082 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 4 ms | Connection: statement-37 | SQL: SELECT *
  429. FROM goaf_sensor
  430. where oc_id = 406283
  431. AND goaf_dev_name = 'machinery'
  432. 16:19:52.090 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 5 ms | Connection: statement-37 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  433. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  434. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  435. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  436. f_alarm_temperature, goaf_datareport_time
  437. FROM goaf_sensordata
  438. WHERE oc_id = 406283
  439. AND goaf_sensor_id = 442137
  440. ORDER BY goaf_datareport_time DESC
  441. LIMIT 1
  442. 16:19:52.098 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 5 ms | Connection: statement-37 | SQL: SELECT *
  443. FROM goaf_sensor
  444. where oc_id = 406283
  445. AND goaf_dev_name = 'compress'
  446. 16:19:52.108 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 5 ms | Connection: statement-37 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  447. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  448. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  449. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  450. f_alarm_temperature, goaf_datareport_time
  451. FROM goaf_sensordata
  452. WHERE oc_id = 406283
  453. AND goaf_sensor_id = 442135
  454. ORDER BY goaf_datareport_time DESC
  455. LIMIT 1
  456. 16:19:52.115 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:52 | Time Consuming: 4 ms | Connection: statement-37 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  457. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  458. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  459. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  460. f_alarm_temperature, goaf_datareport_time
  461. FROM goaf_sensordata
  462. WHERE oc_id = 406283
  463. AND goaf_sensor_id = 442139
  464. ORDER BY goaf_datareport_time DESC
  465. LIMIT 1
  466. 16:19:54.277 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:54 | Time Consuming: 3 ms | Connection: statement-37 | SQL: SELECT 1
  467. 16:19:54.294 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:54 | Time Consuming: 12 ms | Connection: statement-37 | SQL: SELECT td_wave_value_x, td_wave_value_y, td_wave_value_z
  468. FROM goaf_sensordata
  469. WHERE goaf_data_id = 442169
  470. 16:19:58.678 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:58 | Time Consuming: 3 ms | Connection: statement-37 | SQL: SELECT 1
  471. 16:19:58.690 [XNIO-1 task-3] INFO p6spy - 2023-08-26 16:19:58 | Time Consuming: 8 ms | Connection: statement-37 | SQL: SELECT td_wave_value_x, td_wave_value_y, td_wave_value_z
  472. FROM goaf_sensordata
  473. WHERE goaf_data_id = 442170
  474. 17:58:32.424 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:32 | Time Consuming: 4 ms | Connection: statement-95 | SQL: SELECT 1
  475. 17:58:32.436 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:32 | Time Consuming: 4 ms | Connection: statement-95 | SQL: SELECT count(0) FROM goaf_sensordata WHERE oc_id = 406283
  476. 17:58:32.715 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:32 | Time Consuming: 277 ms | Connection: statement-95 | SQL: SELECT *
  477. FROM goaf_sensordata
  478. WHERE oc_id = 406283
  479. ORDER BY goaf_datareport_time DESC
  480. LIMIT 10
  481. 17:58:45.883 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 4 ms | Connection: statement-95 | SQL: SELECT 1
  482. 17:58:45.893 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 3 ms | Connection: statement-95 | SQL: SELECT *
  483. FROM goaf_devinfo
  484. where oc_id = 406283
  485. 17:58:45.908 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 4 ms | Connection: statement-95 | SQL: SELECT *
  486. FROM goaf_sensor
  487. where oc_id = 406283
  488. AND goaf_dev_name = 'other'
  489. 17:58:45.920 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 5 ms | Connection: statement-95 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  490. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  491. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  492. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  493. f_alarm_temperature, goaf_datareport_time
  494. FROM goaf_sensordata
  495. WHERE oc_id = 406283
  496. AND goaf_sensor_id = 442129
  497. ORDER BY goaf_datareport_time DESC
  498. LIMIT 1
  499. 17:58:45.934 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 10 ms | Connection: statement-95 | SQL: SELECT *
  500. FROM goaf_sensor
  501. where oc_id = 406283
  502. AND goaf_dev_name = 'waterpump'
  503. 17:58:45.942 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 4 ms | Connection: statement-95 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  504. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  505. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  506. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  507. f_alarm_temperature, goaf_datareport_time
  508. FROM goaf_sensordata
  509. WHERE oc_id = 406283
  510. AND goaf_sensor_id = 442136
  511. ORDER BY goaf_datareport_time DESC
  512. LIMIT 1
  513. 17:58:45.951 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 7 ms | Connection: statement-95 | SQL: SELECT *
  514. FROM goaf_sensor
  515. where oc_id = 406283
  516. AND goaf_dev_name = 'machinery'
  517. 17:58:45.961 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 6 ms | Connection: statement-95 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  518. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  519. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  520. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  521. f_alarm_temperature, goaf_datareport_time
  522. FROM goaf_sensordata
  523. WHERE oc_id = 406283
  524. AND goaf_sensor_id = 442137
  525. ORDER BY goaf_datareport_time DESC
  526. LIMIT 1
  527. 17:58:45.968 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 5 ms | Connection: statement-95 | SQL: SELECT *
  528. FROM goaf_sensor
  529. where oc_id = 406283
  530. AND goaf_dev_name = 'compress'
  531. 17:58:45.975 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 4 ms | Connection: statement-95 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  532. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  533. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  534. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  535. f_alarm_temperature, goaf_datareport_time
  536. FROM goaf_sensordata
  537. WHERE oc_id = 406283
  538. AND goaf_sensor_id = 442135
  539. ORDER BY goaf_datareport_time DESC
  540. LIMIT 1
  541. 17:58:45.983 [XNIO-1 task-3] INFO p6spy - 2023-08-26 17:58:45 | Time Consuming: 6 ms | Connection: statement-95 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  542. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  543. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  544. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  545. f_alarm_temperature, goaf_datareport_time
  546. FROM goaf_sensordata
  547. WHERE oc_id = 406283
  548. AND goaf_sensor_id = 442139
  549. ORDER BY goaf_datareport_time DESC
  550. LIMIT 1
  551. 18:04:40.469 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:40 | Time Consuming: 4 ms | Connection: statement-100 | SQL: SELECT 1
  552. 18:04:40.481 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:40 | Time Consuming: 5 ms | Connection: statement-100 | SQL: SELECT
  553. A.oc_id,
  554. A.group_id,
  555. A.group_name,
  556. A.group_code,
  557. A.group_cat_id,
  558. C.group_cat_title,
  559. A.node_left,
  560. A.node_right,
  561. A.parent_id,
  562. A.root_id,
  563. B.group_name as parent_name,
  564. A.node_level,
  565. A.is_leaf,
  566. A.is_fixed,
  567. A.group_desc
  568. FROM s_group AS A
  569. LEFT JOIN s_group AS B ON (A.oc_id = B.oc_id AND A.parent_id = B.group_id)
  570. LEFT JOIN s_group_cat AS C ON (A.oc_id = C.oc_id AND A.group_cat_id = C.group_cat_id)
  571. WHERE A.oc_id = 406283 AND A.deleted_flag = 0
  572. 18:04:40.537 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:40 | Time Consuming: 6 ms | Connection: statement-100 | SQL: SELECT
  573. A.oc_id,
  574. A.group_id,
  575. A.group_name,
  576. A.group_code,
  577. A.group_cat_id,
  578. C.group_cat_title,
  579. A.node_left,
  580. A.node_right,
  581. A.parent_id,
  582. A.root_id,
  583. B.group_name as parent_name,
  584. A.node_level,
  585. A.is_leaf,
  586. A.is_fixed,
  587. A.group_desc
  588. FROM s_group AS A
  589. LEFT JOIN s_group AS B ON (A.oc_id = B.oc_id AND A.parent_id = B.group_id )
  590. LEFT JOIN s_group_cat AS C ON (A.oc_id = C.oc_id AND A.group_cat_id = C.group_cat_id)
  591. WHERE A.oc_id = 406283 AND A.deleted_flag = 0 AND A.group_id = 406283
  592. 18:04:40.608 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:40 | Time Consuming: 6 ms | Connection: statement-100 | SQL: SELECT count(0) FROM (SELECT DISTINCT (A.account_id), A.gm_id, A.oc_id, A.group_id, B.account_name, B.account_real_name, B.account_phone, B.account_staff_no, B.account_avatar, B.status, B.is_fixed, C.group_name, C.node_left, C.node_right, D.gmp_id, D.position_id, D.position_name, E.gmpg_id, E.grant_group_id, F.group_name AS grant_group_name FROM s_group_member AS A LEFT JOIN account AS B ON (A.oc_id = B.oc_id AND A.account_id = B.account_id) LEFT JOIN s_group AS C ON (A.oc_id = C.oc_id AND A.group_id = C.group_id) LEFT JOIN s_group_member_position_grant AS E ON (B.oc_id = E.oc_id AND B.account_id = E.account_id) LEFT JOIN s_group AS F ON (E.oc_id = F.oc_id AND E.grant_group_id = F.group_id) LEFT JOIN (SELECT M.oc_id, M.account_id, M.gmp_id, M.group_id, M.position_id, P.position_name, N.gmpg_id, N.grant_group_id, GP.group_name AS grant_group_name FROM s_group_member_position AS M LEFT JOIN s_group_member_position_grant AS N ON (M.oc_id = N.oc_id AND M.account_id = N.account_id AND M.group_id = N.group_id AND M.position_id = N.position_id) LEFT JOIN s_position AS P ON (M.oc_id = P.oc_id AND M.position_id = P.position_id) LEFT JOIN s_group AS GP ON (M.oc_id = GP.oc_id AND N.grant_group_id = GP.group_id)) AS D ON (A.oc_id = D.oc_id AND A.account_id = D.account_id AND A.group_id = D.group_id) WHERE B.deleted_flag = 0 AND A.oc_id = 406283 AND C.node_left >= 1 AND C.node_right <= 4) table_count
  593. 18:04:40.617 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:40 | Time Consuming: 6 ms | Connection: statement-100 | SQL: SELECT
  594. DISTINCT(A.account_id),
  595. A.gm_id,
  596. A.oc_id,
  597. A.group_id,
  598. B.account_name,
  599. B.account_real_name,
  600. B.account_phone,
  601. B.account_staff_no,
  602. B.account_avatar,
  603. B.status,
  604. B.is_fixed,
  605. C.group_name,
  606. C.node_left,
  607. C.node_right,
  608. D.gmp_id,
  609. D.position_id,
  610. D.position_name,
  611. E.gmpg_id,
  612. E.grant_group_id,
  613. F.group_name as grant_group_name
  614. FROM
  615. s_group_member AS A
  616. LEFT JOIN account AS B ON (A.oc_id = B.oc_id AND A.account_id = B.account_id)
  617. LEFT JOIN s_group AS C ON (A.oc_id = C.oc_id AND A.group_id = C.group_id )
  618. LEFT JOIN s_group_member_position_grant AS E ON (B.oc_id = E.oc_id AND B.account_id = E.account_id)
  619. LEFT JOIN s_group AS F ON (E.oc_id = F.oc_id AND E.grant_group_id = F.group_id )
  620. LEFT JOIN (
  621. SELECT
  622. M.oc_id,
  623. M.account_id,
  624. M.gmp_id,
  625. M.group_id,
  626. M.position_id,
  627. P.position_name,
  628. N.gmpg_id,
  629. N.grant_group_id,
  630. GP.group_name as grant_group_name
  631. FROM
  632. s_group_member_position AS M
  633. LEFT JOIN s_group_member_position_grant AS N ON (
  634. M.oc_id = N.oc_id
  635. AND M.account_id = N.account_id
  636. AND M.group_id = N.group_id
  637. AND M.position_id = N.position_id )
  638. LEFT JOIN s_position AS P ON(M.oc_id = P.oc_id AND M.position_id = P.position_id)
  639. LEFT JOIN s_group AS GP ON(M.oc_id = GP.oc_id AND N.grant_group_id = GP.group_id )
  640. ) AS D ON (A.oc_id= D.oc_id AND A.account_id = D.account_id AND A.group_id = D.group_id)
  641. WHERE B.deleted_flag = 0
  642. AND A.oc_id = 406283
  643. AND C.node_left >= 1
  644. AND C.node_right <= 4
  645. ORDER BY A.account_id, A.group_id
  646. LIMIT 10
  647. 18:04:44.732 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:44 | Time Consuming: 4 ms | Connection: statement-100 | SQL: SELECT 1
  648. 18:04:44.734 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:04:44 | Time Consuming: 4 ms | Connection: statement-101 | SQL: SELECT 1
  649. 18:04:44.737 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:44 | Time Consuming: 5 ms | Connection: statement-100 | SQL: SELECT
  650. COUNT(*) AS 'goafSensorTotalNum',
  651. IFNULL(SUM( CASE WHEN goaf_sensor_status = 1 THEN 1 ELSE 0 END ), 0) AS 'sensorOnlineNum'
  652. FROM goaf_sensor
  653. WHERE oc_id = 406283
  654. 18:04:44.740 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:04:44 | Time Consuming: 5 ms | Connection: statement-101 | SQL: SELECT count(0) FROM goaf_sensor WHERE oc_id = 406283
  655. 18:04:44.745 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:04:44 | Time Consuming: 4 ms | Connection: statement-101 | SQL: SELECT *
  656. FROM goaf_sensor
  657. where oc_id = 406283
  658. LIMIT 10
  659. 18:04:45.896 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 3 ms | Connection: statement-100 | SQL: SELECT 1
  660. 18:04:45.897 [XNIO-1 task-5] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 3 ms | Connection: statement-101 | SQL: SELECT 1
  661. 18:04:45.901 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 3 ms | Connection: statement-100 | SQL: SELECT count(0) FROM goaf_sensor WHERE oc_id = 406283
  662. 18:04:45.908 [XNIO-1 task-5] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 7 ms | Connection: statement-101 | SQL: SELECT *
  663. FROM goaf_syscfg
  664. WHERE oc_id = 406283
  665. 18:04:45.910 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 8 ms | Connection: statement-100 | SQL: SELECT *
  666. FROM goaf_sensor
  667. where oc_id = 406283
  668. LIMIT 10
  669. 18:04:45.914 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 7 ms | Connection: statement-102 | SQL: SELECT 1
  670. 18:04:45.922 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:04:45 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT *
  671. FROM goaf_devinfo
  672. where oc_id = 406283
  673. 18:05:00.333 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:00 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT 1
  674. 18:05:00.337 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:00 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT count(0) FROM goaf_sensor WHERE oc_id = 406283
  675. 18:05:00.342 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:00 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT *
  676. FROM goaf_sensor
  677. where oc_id = 406283
  678. LIMIT 10
  679. 18:05:03.040 [XNIO-1 task-5] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 3 ms | Connection: statement-101 | SQL: SELECT 1
  680. 18:05:03.041 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 3 ms | Connection: statement-100 | SQL: SELECT 1
  681. 18:05:03.043 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT 1
  682. 18:05:03.051 [XNIO-1 task-3] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 5 ms | Connection: statement-100 | SQL: SELECT *
  683. FROM goaf_syscfg
  684. WHERE oc_id = 406283
  685. 18:05:03.051 [XNIO-1 task-5] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 4 ms | Connection: statement-101 | SQL: SELECT count(0) FROM goaf_devinfo WHERE oc_id = 406283
  686. 18:05:03.057 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 8 ms | Connection: statement-102 | SQL: SELECT *
  687. FROM goaf_baseinfo
  688. WHERE oc_id = 406283
  689. 18:05:03.058 [XNIO-1 task-5] INFO p6spy - 2023-08-26 18:05:03 | Time Consuming: 6 ms | Connection: statement-101 | SQL: SELECT *
  690. FROM goaf_devinfo
  691. where oc_id = 406283
  692. LIMIT 10
  693. 18:05:09.452 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT 1
  694. 18:05:09.460 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT *
  695. FROM goaf_devinfo
  696. where oc_id = 406283
  697. 18:05:09.472 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT *
  698. FROM goaf_sensor
  699. where oc_id = 406283
  700. AND goaf_dev_name = 'other'
  701. 18:05:09.478 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 4 ms | Connection: statement-102 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  702. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  703. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  704. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  705. f_alarm_temperature, goaf_datareport_time
  706. FROM goaf_sensordata
  707. WHERE oc_id = 406283
  708. AND goaf_sensor_id = 442129
  709. ORDER BY goaf_datareport_time DESC
  710. LIMIT 1
  711. 18:05:09.484 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 5 ms | Connection: statement-102 | SQL: SELECT *
  712. FROM goaf_sensor
  713. where oc_id = 406283
  714. AND goaf_dev_name = 'waterpump'
  715. 18:05:09.489 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 4 ms | Connection: statement-102 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  716. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  717. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  718. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  719. f_alarm_temperature, goaf_datareport_time
  720. FROM goaf_sensordata
  721. WHERE oc_id = 406283
  722. AND goaf_sensor_id = 442136
  723. ORDER BY goaf_datareport_time DESC
  724. LIMIT 1
  725. 18:05:09.494 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 4 ms | Connection: statement-102 | SQL: SELECT *
  726. FROM goaf_sensor
  727. where oc_id = 406283
  728. AND goaf_dev_name = 'machinery'
  729. 18:05:09.500 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 4 ms | Connection: statement-102 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  730. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  731. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  732. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  733. f_alarm_temperature, goaf_datareport_time
  734. FROM goaf_sensordata
  735. WHERE oc_id = 406283
  736. AND goaf_sensor_id = 442137
  737. ORDER BY goaf_datareport_time DESC
  738. LIMIT 1
  739. 18:05:09.506 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 4 ms | Connection: statement-102 | SQL: SELECT *
  740. FROM goaf_sensor
  741. where oc_id = 406283
  742. AND goaf_dev_name = 'compress'
  743. 18:05:09.512 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 4 ms | Connection: statement-102 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  744. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  745. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  746. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  747. f_alarm_temperature, goaf_datareport_time
  748. FROM goaf_sensordata
  749. WHERE oc_id = 406283
  750. AND goaf_sensor_id = 442135
  751. ORDER BY goaf_datareport_time DESC
  752. LIMIT 1
  753. 18:05:09.516 [XNIO-1 task-2] INFO p6spy - 2023-08-26 18:05:09 | Time Consuming: 3 ms | Connection: statement-102 | SQL: SELECT goaf_data_id, oc_id, goaf_sensor_id, goaf_sensor_name, frequency_x, frequency_y, frequency_z,
  754. acc_x, acc_y, acc_z, vel_x, vel_y, vel_z, dis_x, dis_y, dis_z, sensor_temperature,
  755. ang_x, ang_y, ang_z, f_alarm_acc_x, f_alarm_acc_y, f_alarm_acc_z,
  756. f_alarm_vel_x, f_alarm_vel_y, f_alarm_vel_z, f_alarm_dis_x, f_alarm_dis_y, f_alarm_dis_z,
  757. f_alarm_temperature, goaf_datareport_time
  758. FROM goaf_sensordata
  759. WHERE oc_id = 406283
  760. AND goaf_sensor_id = 442139
  761. ORDER BY goaf_datareport_time DESC
  762. LIMIT 1
  763. 19:35:46.359 [SpringApplicationShutdownHook] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED paused.
  764. 19:35:46.361 [SpringApplicationShutdownHook] INFO io.undertow - stopping server: Undertow - 2.3.4.Final
  765. 19:35:46.363 [SpringApplicationShutdownHook] INFO io.undertow.servlet - Destroying Spring FrameworkServlet 'dispatcherServlet'
  766. 19:35:46.370 [SpringApplicationShutdownHook] INFO o.s.i.endpoint.EventDrivenConsumer - Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
  767. 19:35:46.372 [SpringApplicationShutdownHook] INFO o.s.i.c.PublishSubscribeChannel - Channel 'xps-server.errorChannel' has 0 subscriber(s).
  768. 19:35:46.373 [SpringApplicationShutdownHook] INFO o.s.i.endpoint.EventDrivenConsumer - stopped bean '_org.springframework.integration.errorLogger'
  769. 19:35:46.382 [SpringApplicationShutdownHook] INFO o.s.j.e.a.AnnotationMBeanExporter - Could not unregister MBean [com.github.tobato.fastdfs.domain.conn:name=fdfsConnectionPool,type=FdfsConnectionPool] as said MBean is not registered (perhaps already unregistered by an external process)
  770. 19:35:46.384 [SpringApplicationShutdownHook] INFO o.s.s.quartz.SchedulerFactoryBean - Shutting down Quartz Scheduler
  771. 19:35:46.384 [SpringApplicationShutdownHook] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED shutting down.
  772. 19:35:46.384 [SpringApplicationShutdownHook] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED paused.
  773. 19:35:46.384 [SpringApplicationShutdownHook] INFO org.quartz.core.QuartzScheduler - Scheduler quartzScheduler_$_NON_CLUSTERED shutdown complete.
  774. 19:35:46.403 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - DatebookHikariCP - Shutdown initiated...
  775. 19:35:46.406 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - DatebookHikariCP - Shutdown completed.