-------------创建查询语句---------------- 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfolocates where 1=1 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM house_keeper where grainId = '22' 程序运行时间: 3ms ----每条sql查询时间----:SELECT * FROM house_keeper_house where keeperId in (select kp.id from house_keeper kp where kp.grainId = '22') 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfo where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 43ms ----每条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 程序运行时间: 532ms ----每条sql查询时间----:SELECT * FROM daily_record_payment where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 381ms ----每条sql查询时间----:SELECT * FROM sys_user where grainId = '22' AND status=0 程序运行时间: 3ms ----每条sql查询时间----:SELECT * FROM sys_dic_data 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM sys_role 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_supercheck where grainId = '22' and c_time > '2021-5-10' 程序运行时间: 785ms ----每条sql查询时间----:SELECT * FROM daily_record_transfer where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 14ms ----每条sql查询时间----:SELECT * FROM sys_user_role 程序运行时间: 3ms ----每条sql查询时间----:SELECT * FROM house_keeper_education where keeper_id in (select kp.id from house_keeper kp where kp.grainId = '22') 程序运行时间: 8ms ----每条sql查询时间----:SELECT * FROM dm_device_model where grain_id in(select id from sys_grain where parentid='12') 程序运行时间: 37ms ----每条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')) 程序运行时间: 101ms ----每条sql查询时间----:SELECT * FROM record_device_get where grain_id in (select id from sys_grain where parentId ='12') 程序运行时间: 69ms ----每条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')) 程序运行时间: 74ms ----每条sql查询时间----:SELECT * FROM sys_grain where parentId = '12' 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM house_info where grain_id = '22' 程序运行时间: 8ms ----每条sql查询时间----:SELECT * FROM device_check where grain_id = '22' 程序运行时间: 29ms ----每条sql查询时间----:SELECT * FROM device_check_item where grain_id = '22' 程序运行时间: 279ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfochecks where houseId in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 107ms ----每条sql查询时间----:SELECT * FROM sys_module where 1=1 程序运行时间: 2ms ----每条sql查询时间----:SELECT * FROM sys_role_module where 1=1 程序运行时间: 2ms ----每条sql查询时间----:SELECT * FROM daily_record_task where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 134ms ----每条sql查询时间----:SELECT * FROM daily_record_inoutput where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 233ms ----每条sql查询时间----:SELECT * FROM daily_record_qualitycheck where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 37ms ----每条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')) 程序运行时间: 46ms ----每条sql查询时间----:SELECT * FROM windrainsnow_check where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 136ms ----每条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')) 程序运行时间: 109ms ----每条sql查询时间----:SELECT * FROM device_unit 程序运行时间: 24ms ----每条sql查询时间----:SELECT * FROM daily_record_lsjg_new where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 35ms ----每条sql查询时间----:SELECT * FROM outstore_weekreport where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 95ms ----每条sql查询时间----:SELECT * FROM outstore_check where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 57ms ----每条sql查询时间----:SELECT * FROM record_medicine_inoutput where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 61ms ----每条sql查询时间----:SELECT * FROM dm_medicine_store where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 19ms ----每条sql查询时间----:SELECT * FROM record_medicine_check_new where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 121ms ----每条sql查询时间----:SELECT * FROM sys_city where id in(12) 程序运行时间: 51ms ----每条sql查询时间----:SELECT * FROM daily_record_aeration_new where grain_id = '22' 程序运行时间: 68ms ----每条sql查询时间----:SELECT * FROM daily_record_ammonia_new where grain_id = '22' 程序运行时间: 28ms ----每条sql查询时间----:SELECT * FROM daily_record_concentration_new where grain_id = '22' 程序运行时间: 118ms ----每条sql查询时间----:SELECT * FROM daily_record_conditioner_new where grain_id = '22' 程序运行时间: 22ms ----每条sql查询时间----:SELECT * FROM daily_record_cool_new where grain_id = '22' 程序运行时间: 4ms ----每条sql查询时间----:SELECT * FROM daily_record_events_new where grain_id = '22' 程序运行时间: 7ms ----每条sql查询时间----:SELECT * FROM daily_record_foodsafe_new where grain_id = '22' 程序运行时间: 10ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_circle_new where grain_id = '22' 程序运行时间: 40ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_new where grain_id = '22' 程序运行时间: 34ms ----每条sql查询时间----:SELECT * FROM daily_record_gland_new where grain_id = '22' 程序运行时间: 13ms ----每条sql查询时间----:SELECT * FROM daily_record_house_check_new where grain_id = '22' 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM daily_record_inform_new where grain_id = '22' 程序运行时间: 119ms ----每条sql查询时间----:SELECT * FROM daily_record_inner_new where grain_id = '22' 程序运行时间: 36ms ----每条sql查询时间----:SELECT * FROM daily_record_maintain where house_id in ( SELECT id FROM house_info WHERE grain_id = '22') 程序运行时间: 25ms ----每条sql查询时间----:SELECT * FROM device_application where grain_id = '22' 程序运行时间: 6ms ----每条sql查询时间----:SELECT * FROM daily_record_tonic where 1=1 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM daily_record_lsxzfa_new where grain_id = '22' 程序运行时间: 39ms ----每条sql查询时间----:SELECT * FROM daily_record_xzsqfa_new where grain_id = '22' 程序运行时间: 18ms -------------执行sql并拼装---------------- 程序运行时间: 4464ms -------------拷贝图片时间---------------- 程序运行时间: 33ms -------------创建文件---------------- 程序运行时间: 33ms -------------压缩文件---------------- 程序运行时间: 8331ms -------------总用时---------------- 总用时: 12861ms