Changeset 318


Ignore:
Timestamp:
2007/02/21 19:47:18 (17 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/admin/products/upload_csv.php

    r153 r318  
    120120             
    121121            if(!$err) { 
    122                 lfRegistProduct($objQuery); 
     122                lfRegistProduct($objQuery, $line); 
    123123                $regist++; 
    124124            } 
     
    240240 * ÀâÌÀ¡¡¡§¾¦ÉÊÅÐÏ¿ 
    241241 */ 
    242 function lfRegistProduct($objQuery) { 
     242function lfRegistProduct($objQuery, $line = "") { 
    243243    global $objFormParam; 
    244244    $arrRet = $objFormParam->getHashArray(); 
     
    270270    // ÅÐÏ¿»þ´Ö¤òÀ¸À®(DB¤Înow()¤À¤Ècommit¤·¤¿ºÝ¡¢¤¹¤Ù¤ÆƱ°ì¤Î»þ´Ö¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦) 
    271271    $time = date("Y-m-d H:i:s"); 
    272     $m = (float)microtime(); 
    273     list($dummy, $m_time) = split("\.", $m); 
    274     $time .= ".$m_time"; 
     272    // Éðʲ¼¤òÀ¸À® 
     273    if($line != "") { 
     274        $microtime = sprintf("%06d", $line); 
     275        $time .= ".$microtime"; 
     276    }    
    275277    $sqlval['update_date'] = $time; 
    276278    $sqlval['creator_id'] = $_SESSION['member_id']; 
Note: See TracChangeset for help on using the changeset viewer.