Index: /temp/trunk/html/admin/batch/daily.php
===================================================================
--- /temp/trunk/html/admin/batch/daily.php	(revision 3461)
+++ /temp/trunk/html/admin/batch/daily.php	(revision 3466)
@@ -78,5 +78,19 @@
 		$objQuery = new SC_Query();
 		$arrRet = $objQuery->select("order_date, create_date", "dtb_bat_order_daily", "order_date = ?", array($batch_date));
-		print($batch_date . " " . $arrRet[0]['create_date'] . " ". $arrRet[0]['order_date'] . "<br>");
+		// ¤¹¤Ç¤Ë¥Ð¥Ã¥Á½èÍý¤¬½ªÎ»¤·¤Æ¤¤¤ë¤«¥Á¥§¥Ã¥¯¤¹¤ë¡£
+		if(count($arrRet) > 0) {
+			list($create_date) = split("\.", $arrRet[0]['create_date']);
+			list($order_date) = split("\.", $arrRet[0]['order_date']);
+			$create_time = strtotime($create_date);
+			$order_time = strtotime($order_date);
+			// ¥ª¡¼¥À¡¼³«»ÏÆü¤è¤ê°ìÆü°Ê¾å¸å¤Ë½¸·×¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï½¸·×¤·¤Ê¤ª¤µ¤Ê¤¤
+			if($order_time + 86400 < $create_time) {
+				gfPrintLog("EXIT BATCH $batch_date");
+			}
+		}
+		gfPrintLog("LOADING BATCH $batch_date");
+		lfBatOrderDaily($tmp_time);
+		lfBatOrderDailyHour($tmp_time);
+		lfBatOrderAge($tmp_time);
 	}
 }
