테이블 변수명에서 yc4_를 shop_로 변경
This commit is contained in:
@ -32,8 +32,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
// 미수금이 없고 운송장번호가 없는 자료를 구함
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
from {$g4['yc4_order_table']} a
|
||||
left join {$g4['yc4_cart_table']} b on (b.uq_id=a.uq_id)
|
||||
from {$g4['shop_order_table']} a
|
||||
left join {$g4['shop_cart_table']} b on (b.uq_id=a.uq_id)
|
||||
group by a.od_id
|
||||
/*having misu <= 0 and a.od_invoice = '' and ordercancel = 0*/
|
||||
/*having orderamount - receiptamount = 0 and a.od_invoice = ''*/
|
||||
@ -102,8 +102,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
// 미수금이 있고 송장번호가 없는 자료를 구함
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
from {$g4['yc4_order_table']} a
|
||||
left join {$g4['yc4_cart_table']} b on (b.uq_id=a.uq_id)
|
||||
from {$g4['shop_order_table']} a
|
||||
left join {$g4['shop_cart_table']} b on (b.uq_id=a.uq_id)
|
||||
group by a.od_id
|
||||
/* having receiptamount <= 0 */
|
||||
having misu > 0
|
||||
@ -171,7 +171,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<?
|
||||
$sql = " select * from {$g4[yc4_item_ps_table]}
|
||||
$sql = " select * from {$g4[shop_item_ps_table]}
|
||||
where is_confirm = 0
|
||||
order by is_id desc
|
||||
limit $max_limit ";
|
||||
@ -216,7 +216,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<?
|
||||
$sql = " select * from {$g4['yc4_item_qa_table']}
|
||||
$sql = " select * from {$g4['shop_item_qa_table']}
|
||||
where iq_answer = ''
|
||||
order by iq_id desc
|
||||
limit $max_limit ";
|
||||
|
||||
Reference in New Issue
Block a user