Ignore:
Timestamp:
2012/02/06 21:31:07 (10 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • 無意味なスペースを削除
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Customer.php

    r21444 r21445  
    303303    function updateOrderSummary($customer_id){ 
    304304        $objQuery = new SC_Query_Ex(); 
    305         $arrOrderSummary =  $objQuery->getRow("SUM( payment_total ) as buy_total, COUNT(order_id) as buy_times,MAX( create_date) as last_buy_date, MIN(create_date) as first_buy_date","dtb_order","customer_id = ? AND del_flg = 0 AND status <> ?",array($customer_id,ORDER_CANCEL)); 
     305        $arrOrderSummary =  $objQuery->getRow("SUM( payment_total) as buy_total, COUNT(order_id) as buy_times,MAX( create_date) as last_buy_date, MIN(create_date) as first_buy_date","dtb_order","customer_id = ? AND del_flg = 0 AND status <> ?",array($customer_id,ORDER_CANCEL)); 
    306306        $objQuery->update("dtb_customer",$arrOrderSummary,"customer_id = ?",array($customer_id)); 
    307307    } 
Note: See TracChangeset for help on using the changeset viewer.