on_uid를 uq_id로 변경
This commit is contained in:
@ -5,8 +5,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
$s_page 는 cart.php 일때 수량의 수정, 물품의 삭제를 위한 변수이다.
|
||||
orderinquiryview.php 일때 배송상태등을 나타내는 변수이다.
|
||||
|
||||
$s_on_uid 는 유일한 키인데 orderupdate.php 에서 ck_on_uid 를 죽이면서
|
||||
ck_tmp_on_uid 에 복사본을 넣어준다. ck_tmp_on_uid 는 orderconfirm.php 에서만 사용한다.
|
||||
$s_uq_id 는 유일한 키인데 orderupdate.php 에서 ck_uq_id 를 죽이면서
|
||||
ck_tmp_uq_id 에 복사본을 넣어준다. ck_tmp_uq_id 는 orderconfirm.php 에서만 사용한다.
|
||||
*/
|
||||
|
||||
if ($s_page == 'cart.php' || $s_page == 'orderinquiryview.php')
|
||||
@ -47,7 +47,7 @@ $tot_cancel_amount = 0;
|
||||
$goods = $goods_it_id = "";
|
||||
$goods_count = -1;
|
||||
|
||||
// $s_on_uid 로 현재 장바구니 자료 쿼리
|
||||
// $s_uq_id 로 현재 장바구니 자료 쿼리
|
||||
$sql = " select a.ct_id,
|
||||
a.it_opt1,
|
||||
a.it_opt2,
|
||||
@ -64,7 +64,7 @@ $sql = " select a.ct_id,
|
||||
b.ca_id
|
||||
from {$g4['yc4_cart_table']} a,
|
||||
{$g4['yc4_item_table']} b
|
||||
where a.on_uid = '$s_on_uid'
|
||||
where a.uq_id = '$s_uq_id'
|
||||
and a.it_id = b.it_id
|
||||
order by a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
Reference in New Issue
Block a user