#282 uq_id 필드 제거

This commit is contained in:
chicpro
2013-08-23 10:39:16 +09:00
parent 8ae41a2213
commit 523c6e5e31
44 changed files with 216 additions and 269 deletions

View File

@ -6,16 +6,16 @@ check_demo();
auth_check($auth[$sub_menu], "d");
if ($od_id && $uq_id)
if ($od_id)
{
// 장바구니 삭제
sql_query(" delete from {$g4['shop_cart_table']} where uq_id = '$uq_id' ");
sql_query(" delete from {$g4['shop_cart_table']} where od_id = '$od_id' ");
// 카드결제내역 삭제
sql_query(" delete from {$g4['shop_card_history_table']} where od_id = '$od_id' and uq_id = '$uq_id' ");
sql_query(" delete from {$g4['shop_card_history_table']} where od_id = '$od_id' ");
// 주문서 삭제
sql_query(" delete from {$g4['shop_order_table']} where od_id = '$od_id' and uq_id = '$uq_id' ");
sql_query(" delete from {$g4['shop_order_table']} where od_id = '$od_id' ");
}
if ($return_url)