20210416_135954.txt 8.0 KB

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