function doPreEdit(SC_Query $objQuery, SC_FormParam &$objFormParam)
 {
     if (!SC_Utils_Ex::isBlank($this->arrErr)) {
         return;
     }
     $edit_device_id = $objFormParam->getValue("edit_device_id");
     $arrHash = compact("edit_device_id");
     $objSql = new SC_DeviceAndroidSelect_Ex($arrHash);
     if ($objSql->exists()) {
         $arrRet = $objSql->getOne();
         GC_Utils_Ex::gfPrintLog(print_r($objSql, true), DEBUG_LOG_REALFILE);
         GC_Utils_Ex::gfPrintLog(print_r($arrRet, true), DEBUG_LOG_REALFILE);
         $arrRet["category_id"] = SC_Helper_Device_Ex::getCategoryIds($objQuery, $edit_device_id);
         $objFormParam->setParam($arrRet);
         GC_Utils_Ex::gfPrintLog(print_r($objFormParam->getHashArray(), true), DEBUG_LOG_REALFILE);
         GC_Utils_Ex::gfPrintLog(print_r($arrRet, true), DEBUG_LOG_REALFILE);
     } else {
         SC_Utils_Ex::sfDispError("");
     }
     $arrDateColumn = $this->ARR_DATE_COLUMN;
     foreach ($arrDateColumn as $column) {
         if ($this->is1970($arrRet, $column)) {
             continue;
         }
         $date_keys = $this->date_keys($column);
         $value = $arrRet[$column];
         $objFormParam->setDBDate($value, $date_keys["year"], $date_keys["month"], $date_keys["day"]);
     }
     GC_Utils_Ex::gfPrintLog(print_r($objFormParam->getHashArray(), true), DEBUG_LOG_REALFILE);
     $this->arrForm = $objFormParam->getHashArray();
 }