-------------创建查询语句---------------- 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfolocates where 1=1 程序运行时间: 78ms ----每条sql查询时间----:SELECT * FROM house_keeper where grainId = '22' 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM house_keeper_house where keeperId in (select kp.id from house_keeper kp where kp.grainId = '22') 程序运行时间: 16ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfo where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 84ms ----每条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 程序运行时间: 2125ms ----每条sql查询时间----:SELECT * FROM daily_record_payment where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 203ms ----每条sql查询时间----:SELECT * FROM sys_user where grainId = '22' AND status=0 程序运行时间: 85ms ----每条sql查询时间----:SELECT * FROM sys_dic_data 程序运行时间: 2ms ----每条sql查询时间----:SELECT * FROM sys_role 程序运行时间: 2ms ----每条sql查询时间----:SELECT * FROM daily_record_supercheck where grainId = '22' and c_time > '2021-10-10' 程序运行时间: 559ms ----每条sql查询时间----:SELECT * FROM daily_record_transfer where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 43ms ----每条sql查询时间----:SELECT * FROM sys_user_role 程序运行时间: 5ms ----每条sql查询时间----:SELECT * FROM house_keeper_education where keeper_id in (select kp.id from house_keeper kp where kp.grainId = '22') 程序运行时间: 38ms ----每条sql查询时间----:SELECT * FROM dm_device_model where grain_id in(select id from sys_grain where parentid='12') 程序运行时间: 248ms ----每条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')) 程序运行时间: 390ms ----每条sql查询时间----:SELECT * FROM record_device_get where grain_id in (select id from sys_grain where parentId ='12') 程序运行时间: 242ms ----每条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')) 程序运行时间: 229ms ----每条sql查询时间----:SELECT * FROM sys_grain where parentId = '12' 程序运行时间: 2ms ----每条sql查询时间----:SELECT * FROM house_info where grain_id = '22' 程序运行时间: 11ms ----每条sql查询时间----:SELECT * FROM device_check where grain_id = '22' 程序运行时间: 61ms ----每条sql查询时间----:SELECT * FROM device_check_item where grain_id = '22' 程序运行时间: 285ms ----每条sql查询时间----:SELECT * FROM daily_record_foodbasicinfochecks where houseId in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 503ms ----每条sql查询时间----:SELECT * FROM sys_module where 1=1 程序运行时间: 0ms ----每条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') 程序运行时间: 96ms ----每条sql查询时间----:SELECT * FROM daily_record_inoutput where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 221ms ----每条sql查询时间----:SELECT * FROM daily_record_qualitycheck where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 125ms ----每条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')) 程序运行时间: 62ms ----每条sql查询时间----:SELECT * FROM windrainsnow_check where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 509ms ----每条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')) 程序运行时间: 149ms ----每条sql查询时间----:SELECT * FROM device_unit 程序运行时间: 25ms ----每条sql查询时间----:SELECT * FROM daily_record_lsjg_new where house_id in (select hi.id from house_info hi where hi.grain_id= '22') 程序运行时间: 32ms ----每条sql查询时间----:SELECT * FROM outstore_weekreport where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 93ms ----每条sql查询时间----:SELECT * FROM outstore_check where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 181ms ----每条sql查询时间----:SELECT * FROM record_medicine_inoutput where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 141ms ----每条sql查询时间----:SELECT * FROM dm_medicine_store where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 46ms ----每条sql查询时间----:SELECT * FROM record_medicine_check_new where grain_id in (select id from sys_grain where parentId='12') 程序运行时间: 148ms ----每条sql查询时间----:SELECT * FROM sys_city where id in(12) 程序运行时间: 0ms ----每条sql查询时间----:SELECT * FROM daily_record_aeration_new where grain_id = '22' 程序运行时间: 140ms ----每条sql查询时间----:SELECT * FROM daily_record_ammonia_new where grain_id = '22' 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_concentration_new where grain_id = '22' 程序运行时间: 815ms ----每条sql查询时间----:SELECT * FROM daily_record_conditioner_new where grain_id = '22' 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM daily_record_cool_new where grain_id = '22' 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_events_new where grain_id = '22' 程序运行时间: 39ms ----每条sql查询时间----:SELECT * FROM daily_record_foodsafe_new where grain_id = '22' 程序运行时间: 41ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_circle_new where grain_id = '22' 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_fumigation_new where grain_id = '22' 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_gland_new where grain_id = '22' 程序运行时间: 15ms ----每条sql查询时间----:SELECT * FROM daily_record_house_check_new where grain_id = '22' 程序运行时间: 94ms ----每条sql查询时间----:SELECT * FROM daily_record_inform_new where grain_id = '22' 程序运行时间: 82ms ----每条sql查询时间----:SELECT * FROM daily_record_inner_new where grain_id = '22' 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_maintain where house_id in ( SELECT id FROM house_info WHERE grain_id = '22') 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM device_application where grain_id = '22' 程序运行时间: 31ms ----每条sql查询时间----:SELECT * FROM daily_record_tonic where 1=1 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_lsxzfa_new where grain_id = '22' 程序运行时间: 47ms ----每条sql查询时间----:SELECT * FROM daily_record_xzsqfa_new where grain_id = '22' 程序运行时间: 15ms -------------执行sql并拼装---------------- 程序运行时间: 11219ms -------------拷贝图片时间---------------- 程序运行时间: 16ms -------------创建文件---------------- 程序运行时间: 67ms -------------压缩文件---------------- 程序运行时间: 4869ms -------------总用时---------------- 总用时: 16171ms