addOnSiteInspectionOrder(); if(! $status) echo $msg; echo '生产巡检单据--------end-------------'; echo '更新巡检单据--------start---------------'; $service = new InspectService(); list($status,$msg) = $service->editOnSiteInspectionOrder(); if(! $status) echo $msg; echo '更新巡检单据--------end---------------'; } }