Ignore:
Timestamp:
2010/09/27 14:24:56 (11 years ago)
Author:
eccuore
Message:

#792(ダウンロード販売機能) 規格対応(規格と並行作業なので細かくコミットしてます)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_History.php

    r18824 r18827  
    228228        $col .= ",CASE WHEN EXISTS(SELECT * FROM dtb_products WHERE product_id = od.product_id AND del_flg = 0 AND status = 1) THEN '1' ELSE '0' END AS enable"; 
    229229        $col .= ",o.status AS status, pc.down AS down, o.payment_date AS payment_date, od.product_class_id as product_class_id, "; 
    230         $col .= $dbFactory->getDownloadableDaysWhereSql("o"); 
     230        $col .= $dbFactory->getDownloadableDaysWhereSql(); 
    231231        $col .= " AS effective"; 
    232  
    233232        $where = "p.product_id = od.product_id AND pc.product_id = od.product_id AND pc.product_class_id = od.product_class_id AND od.order_id = o.order_id AND od.order_id = ?"; 
    234         $arrRet = $objQuery->select($col, "dtb_products p, dtb_products_class pc, dtb_order_detail od, dtb_order o", $where); 
     233        $arrRet = $objQuery->select($col, "dtb_products p, dtb_products_class pc, dtb_order_detail od, dtb_order o", $where,array($orderId)); 
    235234        return $arrRet; 
    236235    } 
Note: See TracChangeset for help on using the changeset viewer.