From f4821aa49a172222f19c00539ca7f6f60a0fb6cc Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 15 Jun 2023 17:16:47 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=9A=8C=EC=9B=90=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EC=83=81=ED=92=88=EC=9D=84=20=EC=9E=A5=EB=B0=94=EA=B5=AC?= =?UTF-8?q?=EB=8B=88=EC=97=90=20=EB=8B=B4=EC=95=84=EB=91=90=EA=B3=A0=20?= =?UTF-8?q?=ED=9B=84=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=ED=95=98=EB=A9=B4=20mb?= =?UTF-8?q?=5Fid=EA=B0=80=20=EB=88=84=EB=9D=BD=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderformupdate.php | 8 ++++++++ shop/orderformupdate.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/mobile/shop/orderformupdate.php b/mobile/shop/orderformupdate.php index ba551668b..da38f5a20 100644 --- a/mobile/shop/orderformupdate.php +++ b/mobile/shop/orderformupdate.php @@ -705,10 +705,18 @@ $sql_card_point = ""; if ($od_receipt_price > 0 && !$default['de_card_point']) { $sql_card_point = " , ct_point = '0' "; } + +// 회원 아이디 값 변경 +$sql_mb_id = ""; +if ($is_member) { + $sql_mb_id = " , mb_id = '{$member['mb_id']}' "; +} + $sql = "update {$g5['g5_shop_cart_table']} set od_id = '$od_id', ct_status = '$cart_status' $sql_card_point + $sql_mb_id where od_id = '$tmp_cart_id' and ct_select = '1' "; $result = sql_query($sql, false); diff --git a/shop/orderformupdate.php b/shop/orderformupdate.php index 91eaa4110..d0059fe10 100644 --- a/shop/orderformupdate.php +++ b/shop/orderformupdate.php @@ -646,10 +646,18 @@ $sql_card_point = ""; if ($od_receipt_price > 0 && !$default['de_card_point']) { $sql_card_point = " , ct_point = '0' "; } + +// 회원 아이디 값 변경 +$sql_mb_id = ""; +if ($is_member) { + $sql_mb_id = " , mb_id = '{$member['mb_id']}' "; +} + $sql = "update {$g5['g5_shop_cart_table']} set od_id = '$od_id', ct_status = '$cart_status' $sql_card_point + $sql_mb_id where od_id = '$tmp_cart_id' and ct_select = '1' "; $result = sql_query($sql, false);