find ( array ( 'where' => 'isdelete=0', 'desc' => 'id', 'asArray' => TRUE ) ); return $list; } function get_examine($id = "") { if (empty($id)) return array(); $list = $this->getOne ( array ( 'where' => " id=" . $id.' and isdelete=0' , 'asArray' => TRUE ) ); return $list; } /** * 清空审批列表 */ function examine_clear() { $sql = "delete from " . t_examine; Doo::db ()->query ( $sql ); } function examine_delete($idKey){ $this->id = $idKey; $this->isdelete = 1; $lid = $this->update (); return $lid; } } ?>