Changeset 4981 for temp/trunk/html/admin


Ignore:
Timestamp:
2006/09/18 14:22:16 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/batch/daily.php

    r4980 r4981  
    238238        $where = $base_where . " AND order_birth >= cast('$start_date' as date)"; 
    239239        $start_age = $i * 10; 
    240         $end_age = $start_age+9; 
    241240        if($i <= $age_loop) { 
     241            $end_age = $start_age+9; 
    242242            $where = $where . " AND order_birth <= cast('$end_date' as date)"; 
     243        }else{ 
     244            $end_age = 999; 
    243245        } 
    244246        lfBatOrderAgeSub($sql . $where, $start, $end, $start_age, $end_age, 1); 
     
    282284     
    283285    if($start_age != NULL || $end_age != NULL) { 
    284 //      $arrRet = $objQuery->getall($sql, array($start, $end, $start_age, $end_age)); 
    285         $arrRet = $objQuery->getall($sql, array($start, $end)); 
     286        $arrRet = $objQuery->getall($sql, array($start, $end, $start_age, $end_age)); 
    286287    } else { 
    287288        $arrRet = $objQuery->getall($sql, array($start, $end)); 
Note: See TracChangeset for help on using the changeset viewer.