20200914_171047.txt 7.7 KB

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