public function SheetItem($d)
 {
     $d->sheetid = intval($d->sheetid);
     $row = RecordBookQuery::SheetItemlist($this->db, $d->sheetid);
     if ($row['type'] == 2 || $row['type'] == 4) {
         $arrStudId = array();
         $studid = RecordBookQuery::StudidListFromMark($this->db, $row['id']);
         while ($dd = $this->db->fetch_array($studid)) {
             $arrStudId[] = $dd['id'];
         }
         $row['arrstudid'] = $arrStudId;
     }
     if ($row['type'] >= 3) {
         $row['formcontrol'] = $this->DetermFormControl($row['project']);
     }
     if (isset($d->mark)) {
         if ($d->mark === true) {
             $row['attestation'] = array($row['firstattproc'], $row['secondattproc'], $row['thirdattproc']);
         }
     }
     return $this->models->InstanceClass('SheetItem', $row);
 }