20210825_105054.txt 7.7 KB

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