-------------创建查询语句---------------- 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfolocates where 1=1 程序运行时间: 186ms ----每条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') 程序运行时间: 9ms ----每条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 程序运行时间: 506ms ----每条sql查询时间----:SELECT * FROM daily_record_payment where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 187ms ----每条sql查询时间----:SELECT * FROM sys_user where grainId = '22' AND status=0 程序运行时间: 3ms ----每条sql查询时间----:SELECT * FROM sys_dic_data 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM sys_role 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM daily_record_supercheck where grainId = '22' and c_time > '2021-3-25' 程序运行时间: 329ms ----每条sql查询时间----:SELECT * FROM daily_record_transfer where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 5ms ----每条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') 程序运行时间: 18ms ----每条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')) 程序运行时间: 70ms ----每条sql查询时间----:SELECT * FROM record_device_get where grain_id in (select id from sys_grain where parentId ='12') 程序运行时间: 74ms ----每条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')) 程序运行时间: 2443ms ----每条sql查询时间----:SELECT * FROM sys_grain where parentId = '12' 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM house_info where grain_id = '22' 程序运行时间: 13ms ----每条sql查询时间----:SELECT * FROM device_check where grain_id = '22' 程序运行时间: 102ms ----每条sql查询时间----:SELECT * FROM device_check_item where grain_id = '22' 程序运行时间: 206ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfochecks where houseId in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 74ms ----每条sql查询时间----:SELECT * FROM sys_module where 1=1 程序运行时间: 1ms ----每条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') 程序运行时间: 88ms ----每条sql查询时间----:SELECT * FROM daily_record_inoutput where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 102ms ----每条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')) 程序运行时间: 85ms ----每条sql查询时间----:SELECT * FROM windrainsnow_check where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 163ms ----每条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')) 程序运行时间: 63ms ----每条sql查询时间----:SELECT * FROM device_unit 程序运行时间: 21ms ----每条sql查询时间----:SELECT * FROM daily_record_lsjg_new where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 6ms ----每条sql查询时间----:SELECT * FROM outstore_weekreport where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 106ms ----每条sql查询时间----:SELECT * FROM outstore_check where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 84ms ----每条sql查询时间----:SELECT * FROM record_medicine_inoutput where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 49ms ----每条sql查询时间----:SELECT * FROM dm_medicine_store where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 1ms ----每条sql查询时间----:SELECT * FROM record_medicine_check_new where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 37ms ----每条sql查询时间----:SELECT * FROM sys_city where id in(12) 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_aeration_new where grain_id = '22' 程序运行时间: 341ms ----每条sql查询时间----:SELECT * FROM daily_record_ammonia_new where grain_id = '22' 程序运行时间: 103ms ----每条sql查询时间----:SELECT * FROM daily_record_concentration_new where grain_id = '22' 程序运行时间: 163ms ----每条sql查询时间----:SELECT * FROM daily_record_conditioner_new where grain_id = '22' 程序运行时间: 37ms ----每条sql查询时间----:SELECT * FROM daily_record_cool_new where grain_id = '22' 程序运行时间: 39ms ----每条sql查询时间----:SELECT * FROM daily_record_events_new where grain_id = '22' 程序运行时间: 56ms ----每条sql查询时间----:SELECT * FROM daily_record_foodsafe_new where grain_id = '22' 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_circle_new where grain_id = '22' 程序运行时间: 74ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_new where grain_id = '22' 程序运行时间: 29ms ----每条sql查询时间----:SELECT * FROM daily_record_gland_new where grain_id = '22' 程序运行时间: 23ms ----每条sql查询时间----:SELECT * FROM daily_record_house_check_new where grain_id = '22' 程序运行时间: 33ms ----每条sql查询时间----:SELECT * FROM daily_record_inform_new where grain_id = '22' 程序运行时间: 120ms ----每条sql查询时间----:SELECT * FROM daily_record_inner_new where grain_id = '22' 程序运行时间: 110ms ----每条sql查询时间----:SELECT * FROM daily_record_maintain where house_id in ( SELECT id FROM house_info WHERE grain_id = '22') 程序运行时间: 124ms ----每条sql查询时间----:SELECT * FROM device_application where grain_id = '22' 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM daily_record_tonic where 1=1 程序运行时间: 49ms ----每条sql查询时间----:SELECT * FROM daily_record_lsxzfa_new where grain_id = '22' 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM daily_record_xzsqfa_new where grain_id = '22' 程序运行时间: 91ms -------------执行sql并拼装---------------- 程序运行时间: 7284ms -------------拷贝图片时间---------------- 程序运行时间: 21ms -------------创建文件---------------- 程序运行时间: 47ms -------------压缩文件---------------- 程序运行时间: 3086ms -------------总用时---------------- 总用时: 10438ms