Changeset 376
- Timestamp:
- 2007/02/26 18:41:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/home.php
r374 r376 108 108 $sql = "SELECT ".$method."(total) FROM dtb_order 109 109 WHERE del_flg = 0 AND date_format(create_date, '%Y/%m') = ? 110 AND cast(substring(create_date,1, 10) as date) <> cast(substring(now(),1, 10) as date)";110 AND date_format(create_date, '%Y/%m/%d') <> date_format(now(), '%Y/%m/%d')"; 111 111 } 112 112 $return = $conn->getOne($sql, array($month));
Note: See TracChangeset
for help on using the changeset viewer.