Changeset 1873 for temp/trunk
- Timestamp:
- 2006/08/24 21:32:22 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/class/SC_SelectSql.php (modified) (1 diff)
-
html/admin/customer/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_SelectSql.php
r1328 r1873 68 68 function selectTermRange($from_year, $from_month, $from_day, $to_year, $to_month, $to_day, $column) { 69 69 70 sfprintr($from_year .":". $from_month.":". $from_day.":". $to_year.":". $to_month.":". $to_day); 71 70 72 // ³«»Ï´ü´Ö¤À¤±»ØÄê¤Î¾ì¹ç¤ÏËÜÆüÅÐϿʬ¤Þ¤Ç 71 73 if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) && ( $to_year == "" ) && ( $to_month == "" ) && ( $to_day == "" ) ) { 72 74 list( $date1, $date2, $err ) = sfCheckSetTerm( $from_year, $from_month, $from_day, date("Y"), date("m"), date("d") ); 73 75 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); 76 79 } 77 80 } -
temp/trunk/html/admin/customer/index.php
r1872 r1873 155 155 $searchSql = $objSelect->getList(); 156 156 } 157 $searchSql .= ".";158 157 159 158 $objPage->search_data = $objConn->getAll($searchSql, $objSelect->arrVal);
Note: See TracChangeset
for help on using the changeset viewer.
