Ignore:
Timestamp:
2006/09/11 19:37:56 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/total/index.php

    r3626 r4608  
    548548    $objQuery->setGroupBy("order_sex"); 
    549549     
    550     $tmp_where = $where . " AND customer_id <> 0 AND delete = 0 "; 
     550    $tmp_where = $where . " AND customer_id <> 0 AND del_flg = 0 "; 
    551551    $arrRet = $objQuery->select($col, $from, $tmp_where, $arrval); 
    552552     
     
    559559     
    560560    // Èó²ñ°÷½¸·×¤Î¼èÆÀ 
    561     $tmp_where = $where . " AND customer_id = 0 AND delete = 0 "; 
     561    $tmp_where = $where . " AND customer_id = 0 AND del_flg = 0 "; 
    562562    $arrRet = $objQuery->select($col, $from, $tmp_where, $arrval); 
    563563    // Èó²ñ°÷¹ØÆþ¤Ç¤¢¤ë¤³¤È¤òµ­Ï¿¤¹¤ë¡£ 
     
    616616     
    617617    $sql = "SELECT job, count(*) AS order_count, SUM(total) AS total, int8(AVG(total)) AS total_average "; 
    618     $sql.= "FROM dtb_customer AS T1 LEFT JOIN dtb_order AS T2 USING ( customer_id ) WHERE $where AND T2.delete = 0"; 
     618    $sql.= "FROM dtb_customer AS T1 LEFT JOIN dtb_order AS T2 USING ( customer_id ) WHERE $where AND T2.del_flg = 0"; 
    619619    $sql.= "GROUP BY job ORDER BY total DESC"; 
    620620     
Note: See TracChangeset for help on using the changeset viewer.