Changeset 18401
- Timestamp:
- 2009/11/29 13:46:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_History.php
r18399 r18401 223 223 $objQuery = new SC_Query(); 224 224 $col = "product_id, product_code, product_name, classcategory_name1, classcategory_name2, price, quantity, point_rate"; 225 $col .= ",CASE WHEN EXISTS(SELECT * FROM dtb_products WHERE product_id = dtb_order_detail.product_id AND del_flg = 0 ) THEN '1' ELSE '0' END AS enable";225 $col .= ",CASE WHEN EXISTS(SELECT * FROM dtb_products WHERE product_id = dtb_order_detail.product_id AND del_flg = 0 AND status = 1) THEN '1' ELSE '0' END AS enable"; 226 226 $where = "order_id = ?"; 227 227 $objQuery->setorder("classcategory_id1, classcategory_id2");
Note: See TracChangeset
for help on using the changeset viewer.