주문관련 코드 수정중

This commit is contained in:
gnuboard
2013-10-22 10:55:29 +09:00
parent 61fc9655ad
commit eb2b23ce17
7 changed files with 217 additions and 66 deletions

View File

@ -615,4 +615,16 @@ if(!sql_query(" select ev_mobile_skin from {$g5['g5_shop_event_table']} limit 1
ADD `ev_mobile_img_height` int(11) NOT NULL DEFAULT '0' AFTER `ev_mobile_img_width`,
ADD `ev_mobile_list_mod` int(11) NOT NULL DEFAULT '0' AFTER `ev_mobile_img_height` ", true);
}
// 쇼핑몰설정 테이블에 배송업체 필드 추가
if(!sql_query(" select de_delivery_company from {$g5['g5_shop_default_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
ADD `de_delivery_company` varchar(255) NOT NULL DEFAULT '' AFTER `de_level_sell` ", true);
}
// 주문서 테이블에 배송업체 필드 추가
if(!sql_query(" select od_delivery_company from {$g5['g5_shop_order_table']} limit 1 ", false)) {
sql_query(" ALTER TABLE `{$g5['g5_shop_order_table']}`
CHANGE `dl_id` `od_delivery_company` varchar(255) NOT NULL DEFAULT '' ", true);
}
?>