주문상세의 주문정보 쿼리 수정

This commit is contained in:
chicpro
2013-05-16 13:28:17 +09:00
parent c5a220c45e
commit 312d77aebc

View File

@ -86,26 +86,25 @@ if ($default['de_card_test']) {
$g4['shop_cardpg']['kcp'] = "http://testadmin8.kcp.co.kr"; $g4['shop_cardpg']['kcp'] = "http://testadmin8.kcp.co.kr";
} }
$sql = " select a.ct_id, $sql = " select ct_id,
a.it_id, it_id,
a.it_name, it_name,
a.ct_qty, ct_qty,
a.ct_price, ct_price,
a.ct_point, ct_point,
a.ct_status, ct_status,
a.ct_time, ct_time,
a.ct_point_use, ct_point_use,
a.ct_stock_use, ct_stock_use,
a.it_opt1, it_opt1,
a.it_opt2, it_opt2,
a.it_opt3, it_opt3,
a.it_opt4, it_opt4,
a.it_opt5, it_opt5,
a.it_opt6 it_opt6
from {$g4['shop_cart_table']} a, {$g4['shop_item_table']} b from {$g4['shop_cart_table']}
where a.uq_id = '{$od['uq_id']}' where uq_id = '{$od['uq_id']}'
and a.it_id = b.it_id order by ct_id ";
order by a.ct_id ";
$result = sql_query($sql); $result = sql_query($sql);
$pg_anchor = '<ul class="anchor"> $pg_anchor = '<ul class="anchor">