Changeset 4824 for temp/trunk
- Timestamp:
- 2006/09/16 22:00:22 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/batch/daily.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/batch/daily.php
r4823 r4824 221 221 $objQuery = new SC_Query(); 222 222 $objQuery->delete("dtb_bat_order_daily_age", "order_date = ?", array($start)); 223 223 224 224 /* ²ñ°÷½¸·× */ 225 225 226 226 $base_where = "WHERE (create_date BETWEEN ? AND ?) AND customer_id <> 0 AND del_flg = 0 "; 227 $where = $base_where . " AND (to_number(to_char(age(current_timestamp, order_birth), 'YYY'), 999) BETWEEN ? AND ?) "; 228 227 //$where = $base_where . " AND (to_number(to_char(age(current_timestamp, order_birth), 'YYY'), 999) BETWEEN ? AND ?) "; 228 $where = $base_where . " AND current_timestamp BETWEEN ? AND ? "; 229 230 sfprintr( date("Y/m/d",strtotime("-10 year"))); 231 229 232 // ǯÎðËè¤Ë½¸·×¤¹¤ë¡£ 230 233 for($i = 0; $i <= $age_loop; $i++) {
Note: See TracChangeset
for help on using the changeset viewer.
