json.data do json.array! @business_deliver do |deliver| b = deliver.business json.school handled_data b.school&.name json.name handled_data b.name json.state deliver.status json.time handled_time_data deliver.delvier_date json.id deliver.id json.staff_name handled_data b.staff_name json.subject_progress deliver.subject_competed_count json.shixun_progress deliver.shixun_competed_count json.subject_manages deliver.subject_manages end end json.code 0 json.count @business_deliver.total_count