Changeset 1873 for temp/trunk


Ignore:
Timestamp:
2006/08/24 21:32:22 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_SelectSql.php

    r1328 r1873  
    6868    function selectTermRange($from_year, $from_month, $from_day, $to_year, $to_month, $to_day, $column) { 
    6969 
     70        sfprintr($from_year .":". $from_month.":". $from_day.":". $to_year.":". $to_month.":". $to_day); 
     71         
    7072        // ³«»Ï´ü´Ö¤À¤±»ØÄê¤Î¾ì¹ç¤ÏËÜÆüÅÐϿʬ¤Þ¤Ç 
    7173        if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) && ( $to_year == "" ) && ( $to_month == "" ) && ( $to_day == "" ) ) { 
    7274            list( $date1, $date2, $err ) = sfCheckSetTerm( $from_year, $from_month, $from_day, date("Y"), date("m"), date("d") ); 
    7375            if ( ! $err ) { 
    74                 $this->setWhere( $column ." BETWEEN ? AND ?" ); 
    75                 $return = array($date1, $date2); 
     76//              $this->setWhere( $column ." BETWEEN ? AND ?" ); 
     77                $this->setWhere( $column ." >= ?" ); 
     78                $return = array($date1); 
    7679            } 
    7780        } 
  • temp/trunk/html/admin/customer/index.php

    r1872 r1873  
    155155            $searchSql = $objSelect->getList(); 
    156156        } 
    157         $searchSql .= "."; 
    158157         
    159158        $objPage->search_data = $objConn->getAll($searchSql, $objSelect->arrVal); 
Note: See TracChangeset for help on using the changeset viewer.