20211110_100256.txt 7.9 KB

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