ct_order 필드 삭제

This commit is contained in:
chicpro
2013-05-30 18:29:10 +09:00
parent 6d25ac9fd4
commit e0f46f15e9
3 changed files with 2 additions and 10 deletions

View File

@ -84,14 +84,6 @@ if(!$result) {
ADD `ct_num` INT(11) NOT NULL DEFAULT '0' AFTER `ct_qty` ", false);
}
// ct_order 추가
$sql = " select ct_order from {$g4['shop_cart_table']} limit 1 ";
$result = sql_query($sql, false);
if(!$result) {
sql_query(" ALTER TABLE `{$g4['shop_cart_table']}`
ADD `ct_order` INT(11) NOT NULL DEFAULT '0' AFTER `ct_direct` ", false);
}
// it_brand 추가
$sql = " select it_brand from {$g4['shop_item_table']} limit 1 ";
$result = sql_query($sql, false);

View File

@ -56,7 +56,7 @@ $sql = " select a.ct_id,
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
where a.uq_id = '$s_uq_id'
and a.ct_num = '0'
order by a.ct_order, a.ct_id ";
order by a.ct_id ";
$result = sql_query($sql);
$good_info = '';

View File

@ -55,7 +55,7 @@ $sql = " select a.ct_id,
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
where a.uq_id = '$s_uq_id'
and a.ct_num = '0'
order by a.ct_order, a.ct_id ";
order by a.ct_id ";
$result = sql_query($sql);
$good_info = '';