Changeset 384
- Timestamp:
- 2007/02/27 12:06:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/batch/daily.php
r155 r384 107 107 function lfGetOrderDailySQL($start, $end) { 108 108 $from = " FROM dtb_order AS T1 LEFT JOIN dtb_customer AS T2 USING ( customer_id ) "; 109 $where = " WHERE T1.del_flg = 0 AND T1.create_date BETWEEN '$start' AND '$end' ";109 $where = " WHERE T1.del_flg = 0 AND status <> " . ORDER_CANCEL . "AND T1.create_date BETWEEN '$start' AND '$end' "; 110 110 111 111 /* mysql¤Ç¤âÌäÂê¤Ê¤¤¤è¤¦¤Ë½¤Àµ … … 232 232 /* ²ñ°÷½¸·× */ 233 233 234 $base_where = "WHERE (create_date BETWEEN ? AND ?) AND customer_id <> 0 AND del_flg = 0 ";234 $base_where = "WHERE (create_date BETWEEN ? AND ?) AND customer_id <> 0 AND del_flg = 0 AND status <> " . ORDER_CANCEL; 235 235 236 236 $end_date = date("Y/m/d", time());
Note: See TracChangeset
for help on using the changeset viewer.