경로 및 전체테이블명 변경
This commit is contained in:
@ -3,7 +3,7 @@ include_once('./_common.php');
|
||||
|
||||
// 선택옵션별 재고체크
|
||||
$sql = " select a.it_id, a.opt_id, a.opt_qty, b.it_name
|
||||
from {$g4['yc4_option_table']} a left join {$g4['yc4_item_table']} b on ( a.it_id = b.it_id )
|
||||
from {$g4['shop_option_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
|
||||
where a.opt_qty < a.opt_notice
|
||||
and a.opt_use = '1'
|
||||
order by a.opt_qty asc ";
|
||||
@ -15,7 +15,7 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
// 추가옵션별 재고체크
|
||||
$sql = " select a.it_id, a.sp_id, a.sp_qty, b.it_name
|
||||
from {$g4['yc4_supplement_table']} a left join {$g4['yc4_item_table']} b on ( a.it_id = b.it_id )
|
||||
from {$g4['shop_supplement_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
|
||||
where a.sp_qty < a.sp_notice
|
||||
and a.sp_use = '1'
|
||||
order by a.sp_qty asc ";
|
||||
|
||||
Reference in New Issue
Block a user