#282 uq_id 필드 제거
This commit is contained in:
@ -44,7 +44,7 @@ for ($i=0; $i<$cnt; $i++)
|
||||
$ct_id = $_POST['ct_id'][$k];
|
||||
|
||||
$sql = " select * from {$g4['shop_cart_table']}
|
||||
where uq_id = '$uq_id'
|
||||
where od_id = '$od_id'
|
||||
and ct_id = '$ct_id' ";
|
||||
$ct = sql_fetch($sql);
|
||||
if(!$ct['ct_id'])
|
||||
@ -76,7 +76,7 @@ for ($i=0; $i<$cnt; $i++)
|
||||
$sql = " update {$g4['shop_cart_table']}
|
||||
set ct_qty = '$ct_qty'
|
||||
where ct_id = '$ct_id'
|
||||
and uq_id = '$uq_id' ";
|
||||
and od_id = '$od_id' ";
|
||||
sql_query($sql);
|
||||
$mod_history .= G4_TIME_YMDHIS.' '.$ct['ct_option'].' 수량변경 '.$ct['ct_qty'].' -> '.$ct_qty."\n";
|
||||
}
|
||||
@ -141,7 +141,7 @@ for ($i=0; $i<$cnt; $i++)
|
||||
{
|
||||
$point_use = 0;
|
||||
//insert_point($mb_id, (-1) * ($ct[ct_point] * $ct[ct_qty]), "주문번호 $od_id ($ct_id) 취소");
|
||||
delete_point($mb_id, "@delivery", $mb_id, "$od_id,$uq_id,$ct_id");
|
||||
delete_point($mb_id, "@delivery", $mb_id, "$od_id,$ct_id");
|
||||
}
|
||||
|
||||
// 히스토리에 남김
|
||||
@ -153,7 +153,7 @@ for ($i=0; $i<$cnt; $i++)
|
||||
ct_stock_use = '$stock_use',
|
||||
ct_status = '$ct_status',
|
||||
ct_history = CONCAT(ct_history,'$ct_history')
|
||||
where uq_id = '$uq_id'
|
||||
where od_id = '$od_id'
|
||||
and ct_id = '$ct_id' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user