Index: temp/trunk/html/admin/batch/daily.php
===================================================================
--- temp/trunk/html/admin/batch/daily.php	(revision 4839)
+++ temp/trunk/html/admin/batch/daily.php	(revision 4840)
@@ -238,7 +238,7 @@
 	// Ç¯ÎðËè¤Ë½¸·×¤¹¤ë¡£
 	for($i = 0; $i <= $age_loop; $i++) {
-		$where = $base_where . " AND order_birth >= '$start_date'";
+		$where = $base_where . " AND order_birth >= cast('$start_date' as date)";
 		if($i <= $age_loop) {
-			$where = $where . " AND order_birth <= '$end_date'";
+			$where = $where . " AND order_birth <= cast('$end_date' as date)";
 		}
 		lfBatOrderAgeSub($sql . $where, $start, $end, $start_age, $end_age, 1);
