Index: /temp/trunk/html/admin/batch/daily.php
===================================================================
--- /temp/trunk/html/admin/batch/daily.php	(revision 4975)
+++ /temp/trunk/html/admin/batch/daily.php	(revision 4976)
@@ -78,5 +78,4 @@
 		$objQuery = new SC_Query();
 		$arrRet = $objQuery->select("order_date, create_date", "dtb_bat_order_daily", "order_date = ?", array($batch_date));
-		$objQuery->getlastquery();
 		// ¤¹¤Ç¤Ë¥Ð¥Ã¥Á½èÍý¤¬½ªÎ»¤·¤Æ¤¤¤ë¤«¥Á¥§¥Ã¥¯¤¹¤ë¡£
 		if(count($arrRet) > 0) {
@@ -161,6 +160,4 @@
 	}
 	
-	sfprintr($start);
-	
 	$sqlval['create_date'] = 'now()';
 	$sqlval['order_date'] = $start;
@@ -201,4 +198,5 @@
 			}
 		}
+		$sqlval['create_date'] = "now()";
 		$sqlval['order_date'] = $start;
 		$sqlval['hour'] = "$i";
