public function MarkUpdateToJSON($d) { $d->id = intval($d->id); $d->sheetid = intval($d->sheetid); $credit = RecordBookQuery::SheetItemFormControl($this->db, $d->sheetid); $res = $this->MarkUpdate($d, $credit); return $this->ResultToJSON('markUpdate', $res); }