rows("`uid`='$uid' and `id`<>'$id' and `status` not in(1,5)")>0)return '已有一单在申请中'; } protected function saveafter($table, $arr, $id, $addbo){ } }