20210918_142715.txt 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. -------------创建查询语句----------------
  2. 程序运行时间: 0ms
  3. ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfolocates where 1=1
  4. 程序运行时间: 44ms
  5. ----每条sql查询时间----:SELECT * FROM house_keeper where grainId = '5'
  6. 程序运行时间: 5ms
  7. ----每条sql查询时间----:SELECT * FROM house_keeper_house where keeperId in (select kp.id from house_keeper kp where kp.grainId = '5')
  8. 程序运行时间: 3ms
  9. ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfo where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  10. 程序运行时间: 14ms
  11. ----每条sql查询时间----:SELECT * FROM daily_record_foodcheckinfo where house_id in (select hi.id from house_info hi where hi.grain_id= '5') AND type = 1 AND content is null
  12. 程序运行时间: 563ms
  13. ----每条sql查询时间----:SELECT * FROM daily_record_payment where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  14. 程序运行时间: 569ms
  15. ----每条sql查询时间----:SELECT * FROM sys_user where grainId = '5' AND status=0
  16. 程序运行时间: 5ms
  17. ----每条sql查询时间----:SELECT * FROM sys_dic_data
  18. 程序运行时间: 2ms
  19. ----每条sql查询时间----:SELECT * FROM sys_role
  20. 程序运行时间: 1ms
  21. ----每条sql查询时间----:SELECT * FROM daily_record_supercheck where grainId = '5' and c_time > '2021-8-18'
  22. 程序运行时间: 1479ms
  23. ----每条sql查询时间----:SELECT * FROM daily_record_transfer where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  24. 程序运行时间: 59ms
  25. ----每条sql查询时间----:SELECT * FROM sys_user_role
  26. 程序运行时间: 12ms
  27. ----每条sql查询时间----:SELECT * FROM house_keeper_education where keeper_id in (select kp.id from house_keeper kp where kp.grainId = '5')
  28. 程序运行时间: 67ms
  29. ----每条sql查询时间----:SELECT * FROM dm_device_model where grain_id in(select id from sys_grain where parentid='8')
  30. 程序运行时间: 151ms
  31. ----每条sql查询时间----:SELECT * FROM dm_device where model_uuid in (select uuid from dm_device_model where grain_id in (select id from sys_grain where parentId ='8'))
  32. 程序运行时间: 67ms
  33. ----每条sql查询时间----:SELECT * FROM record_device_get where grain_id in (select id from sys_grain where parentId ='8')
  34. 程序运行时间: 192ms
  35. ----每条sql查询时间----:SELECT * FROM record_device_back WHERE get_uuid IN (SELECT uuid FROM record_device_get WHERE grain_id IN (SELECT id FROM sys_grain WHERE parentId ='8'))
  36. 程序运行时间: 893ms
  37. ----每条sql查询时间----:SELECT * FROM sys_grain where parentId = '8' or parentId in ('83')
  38. 程序运行时间: 1ms
  39. ----每条sql查询时间----:SELECT * FROM house_info where grain_id = '5'
  40. 程序运行时间: 11ms
  41. ----每条sql查询时间----:SELECT * FROM device_check where grain_id = '5'
  42. 程序运行时间: 103ms
  43. ----每条sql查询时间----:SELECT * FROM device_check_item where grain_id = '5'
  44. 程序运行时间: 278ms
  45. ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfochecks where houseId in (select hi.id from house_info hi where hi.grain_id= '5')
  46. 程序运行时间: 145ms
  47. ----每条sql查询时间----:SELECT * FROM sys_module where 1=1
  48. 程序运行时间: 1ms
  49. ----每条sql查询时间----:SELECT * FROM sys_role_module where 1=1
  50. 程序运行时间: 2ms
  51. ----每条sql查询时间----:SELECT * FROM daily_record_task where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  52. 程序运行时间: 128ms
  53. ----每条sql查询时间----:SELECT * FROM daily_record_inoutput where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  54. 程序运行时间: 172ms
  55. ----每条sql查询时间----:SELECT * FROM daily_record_qualitycheck where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  56. 程序运行时间: 154ms
  57. ----每条sql查询时间----:SELECT * FROM daily_record_basicdevice where house_id in (select hi.id from house_info hi where hi.grain_id in (select id from sys_grain where parentId='8'or parentId in ('83')))
  58. 程序运行时间: 571ms
  59. ----每条sql查询时间----:SELECT * FROM windrainsnow_check where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  60. 程序运行时间: 369ms
  61. ----每条sql查询时间----:SELECT * FROM device_get_log WHERE get_uuid IN (SELECT uuid FROM record_device_get WHERE grain_id IN (SELECT id FROM sys_grain WHERE parentId ='8'))
  62. 程序运行时间: 173ms
  63. ----每条sql查询时间----:SELECT * FROM device_unit
  64. 程序运行时间: 39ms
  65. ----每条sql查询时间----:SELECT * FROM daily_record_lsjg_new where house_id in (select hi.id from house_info hi where hi.grain_id= '5')
  66. 程序运行时间: 35ms
  67. ----每条sql查询时间----:SELECT * FROM outstore_weekreport where grain_id in (select id from sys_grain where parentId='8'or parentId in ('83'))
  68. 程序运行时间: 164ms
  69. ----每条sql查询时间----:SELECT * FROM outstore_check where grain_id in (select id from sys_grain where parentId='8'or parentId in ('83'))
  70. 程序运行时间: 259ms
  71. ----每条sql查询时间----:SELECT * FROM record_medicine_inoutput where grain_id in (select id from sys_grain where parentId='8'or parentId in ('83'))
  72. 程序运行时间: 234ms
  73. ----每条sql查询时间----:SELECT * FROM dm_medicine_store where grain_id in (select id from sys_grain where parentId='8'or parentId in ('83'))
  74. 程序运行时间: 21ms
  75. ----每条sql查询时间----:SELECT * FROM record_medicine_check_new where grain_id in (select id from sys_grain where parentId='8'or parentId in ('83'))
  76. 程序运行时间: 257ms
  77. ----每条sql查询时间----:SELECT * FROM sys_city where id in(8)
  78. 程序运行时间: 1ms
  79. ----每条sql查询时间----:SELECT * FROM daily_record_aeration_new where grain_id = '5'
  80. 程序运行时间: 103ms
  81. ----每条sql查询时间----:SELECT * FROM daily_record_ammonia_new where grain_id = '5'
  82. 程序运行时间: 1ms
  83. ----每条sql查询时间----:SELECT * FROM daily_record_concentration_new where grain_id = '5'
  84. 程序运行时间: 278ms
  85. ----每条sql查询时间----:SELECT * FROM daily_record_conditioner_new where grain_id = '5'
  86. 程序运行时间: 22ms
  87. ----每条sql查询时间----:SELECT * FROM daily_record_cool_new where grain_id = '5'
  88. 程序运行时间: 1ms
  89. ----每条sql查询时间----:SELECT * FROM daily_record_events_new where grain_id = '5'
  90. 程序运行时间: 57ms
  91. ----每条sql查询时间----:SELECT * FROM daily_record_foodsafe_new where grain_id = '5'
  92. 程序运行时间: 44ms
  93. ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_circle_new where grain_id = '5'
  94. 程序运行时间: 78ms
  95. ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_new where grain_id = '5'
  96. 程序运行时间: 86ms
  97. ----每条sql查询时间----:SELECT * FROM daily_record_gland_new where grain_id = '5'
  98. 程序运行时间: 2ms
  99. ----每条sql查询时间----:SELECT * FROM daily_record_house_check_new where grain_id = '5'
  100. 程序运行时间: 52ms
  101. ----每条sql查询时间----:SELECT * FROM daily_record_inform_new where grain_id = '5'
  102. 程序运行时间: 172ms
  103. ----每条sql查询时间----:SELECT * FROM daily_record_inner_new where grain_id = '5'
  104. 程序运行时间: 50ms
  105. ----每条sql查询时间----:SELECT * FROM daily_record_maintain where house_id in ( SELECT id FROM house_info WHERE grain_id = '5')
  106. 程序运行时间: 72ms
  107. ----每条sql查询时间----:SELECT * FROM device_application where grain_id = '5'
  108. 程序运行时间: 20ms
  109. ----每条sql查询时间----:SELECT * FROM daily_record_tonic where 1=1
  110. 程序运行时间: 37ms
  111. ----每条sql查询时间----:SELECT * FROM daily_record_lsxzfa_new where grain_id = '5'
  112. 程序运行时间: 37ms
  113. ----每条sql查询时间----:SELECT * FROM daily_record_xzsqfa_new where grain_id = '5'
  114. 程序运行时间: 43ms
  115. -------------执行sql并拼装----------------
  116. 程序运行时间: 9490ms
  117. -------------拷贝图片时间----------------
  118. 程序运行时间: 12ms
  119. -------------创建文件----------------
  120. 程序运行时间: 104ms
  121. -------------压缩文件----------------
  122. 程序运行时间: 3473ms
  123. -------------总用时----------------
  124. 总用时: 13079ms