-------------创建查询语句---------------- 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfolocates where 1=1 程序运行时间: 94ms ----每条sql查询时间----:SELECT * FROM house_keeper where grainId = '22' 程序运行时间: 133ms ----每条sql查询时间----:SELECT * FROM house_keeper_house where keeperId in (select kp.id from house_keeper kp where kp.grainId = '22') 程序运行时间: 74ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfo where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 644ms ----每条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 程序运行时间: 1279ms ----每条sql查询时间----:SELECT * FROM daily_record_payment where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 287ms ----每条sql查询时间----:SELECT * FROM sys_user where grainId = '22' AND status=0 程序运行时间: 4ms ----每条sql查询时间----:SELECT * FROM sys_dic_data 程序运行时间: 8ms ----每条sql查询时间----:SELECT * FROM sys_role 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM daily_record_supercheck where grainId = '22' and c_time > '2021-3-16' 程序运行时间: 512ms ----每条sql查询时间----:SELECT * FROM daily_record_transfer where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 144ms ----每条sql查询时间----:SELECT * FROM sys_user_role 程序运行时间: 15ms ----每条sql查询时间----:SELECT * FROM house_keeper_education where keeper_id in (select kp.id from house_keeper kp where kp.grainId = '22') 程序运行时间: 92ms ----每条sql查询时间----:SELECT * FROM dm_device_model where grain_id in(select id from sys_grain where parentid='12') 程序运行时间: 510ms ----每条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')) 程序运行时间: 389ms ----每条sql查询时间----:SELECT * FROM record_device_get where grain_id in (select id from sys_grain where parentId ='12') 程序运行时间: 275ms ----每条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')) 程序运行时间: 557ms ----每条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' 程序运行时间: 80ms ----每条sql查询时间----:SELECT * FROM device_check_item where grain_id = '22' 程序运行时间: 290ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfochecks where houseId in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 193ms ----每条sql查询时间----:SELECT * FROM sys_module where 1=1 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM sys_role_module where 1=1 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_task where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 402ms ----每条sql查询时间----:SELECT * FROM daily_record_inoutput where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 290ms ----每条sql查询时间----:SELECT * FROM daily_record_qualitycheck where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 178ms ----每条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')) 程序运行时间: 204ms ----每条sql查询时间----:SELECT * FROM windrainsnow_check where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 230ms ----每条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')) 程序运行时间: 157ms ----每条sql查询时间----:SELECT * FROM device_unit 程序运行时间: 67ms ----每条sql查询时间----:SELECT * FROM daily_record_lsjg_new where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 70ms ----每条sql查询时间----:SELECT * FROM outstore_weekreport where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 180ms ----每条sql查询时间----:SELECT * FROM outstore_check where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 198ms ----每条sql查询时间----:SELECT * FROM record_medicine_inoutput where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 382ms ----每条sql查询时间----:SELECT * FROM dm_medicine_store where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 116ms ----每条sql查询时间----:SELECT * FROM record_medicine_check_new where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 152ms ----每条sql查询时间----:SELECT * FROM sys_city where id in(12) 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_aeration_new where grain_id = '22' 程序运行时间: 241ms ----每条sql查询时间----:SELECT * FROM daily_record_ammonia_new where grain_id = '22' 程序运行时间: 48ms ----每条sql查询时间----:SELECT * FROM daily_record_concentration_new where grain_id = '22' 程序运行时间: 267ms ----每条sql查询时间----:SELECT * FROM daily_record_conditioner_new where grain_id = '22' 程序运行时间: 74ms ----每条sql查询时间----:SELECT * FROM daily_record_cool_new where grain_id = '22' 程序运行时间: 85ms ----每条sql查询时间----:SELECT * FROM daily_record_events_new where grain_id = '22' 程序运行时间: 51ms ----每条sql查询时间----:SELECT * FROM daily_record_foodsafe_new where grain_id = '22' 程序运行时间: 107ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_circle_new where grain_id = '22' 程序运行时间: 155ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_new where grain_id = '22' 程序运行时间: 130ms ----每条sql查询时间----:SELECT * FROM daily_record_gland_new where grain_id = '22' 程序运行时间: 66ms ----每条sql查询时间----:SELECT * FROM daily_record_house_check_new where grain_id = '22' 程序运行时间: 50ms ----每条sql查询时间----:SELECT * FROM daily_record_inform_new where grain_id = '22' 程序运行时间: 342ms ----每条sql查询时间----:SELECT * FROM daily_record_inner_new where grain_id = '22' 程序运行时间: 102ms ----每条sql查询时间----:SELECT * FROM daily_record_maintain where house_id in ( SELECT id FROM house_info WHERE grain_id = '22') 程序运行时间: 118ms ----每条sql查询时间----:SELECT * FROM device_application where grain_id = '22' 程序运行时间: 71ms ----每条sql查询时间----:SELECT * FROM daily_record_tonic where 1=1 程序运行时间: 89ms ----每条sql查询时间----:SELECT * FROM daily_record_lsxzfa_new where grain_id = '22' 程序运行时间: 104ms ----每条sql查询时间----:SELECT * FROM daily_record_xzsqfa_new where grain_id = '22' 程序运行时间: 93ms -------------执行sql并拼装---------------- 程序运行时间: 11140ms -------------拷贝图片时间---------------- 程序运行时间: 6ms -------------创建文件---------------- 程序运行时间: 67ms -------------压缩文件---------------- 程序运行时间: 3207ms -------------总用时---------------- 总用时: 14420ms