Ignore:
Timestamp:
2006/09/14 14:33:42 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/home.php

    r4715 r4721  
    8585    if ( $method == 'SUM' or $method == 'COUNT'){ 
    8686        $sql = "SELECT ".$method."(total) FROM dtb_order 
    87                  WHERE del_flg = 0 AND cast(substring(create_date,1,6) as date) = ?  
     87                 WHERE del_flg = 0 AND cast(substring(create_date,1,7) as date) = ?  
    8888                 AND cast(substring(create_date,1, 10) as date) <> cast(substring(now(),1, 10) as date)"; 
    8989        $return = $conn->getOne($sql, array($month)); 
Note: See TracChangeset for help on using the changeset viewer.