diff --git a/adm/shop_admin/itemexcelupdate.php b/adm/shop_admin/itemexcelupdate.php index 2ba7de581..df1e7b92b 100644 --- a/adm/shop_admin/itemexcelupdate.php +++ b/adm/shop_admin/itemexcelupdate.php @@ -60,6 +60,7 @@ if($_FILES['excelfile']['tmp_name']) { error_reporting(E_ALL ^ E_NOTICE); $dup_it_id = array(); + $fail_it_id = array(); $dup_count = 0; $total_count = 0; $fail_count = 0; @@ -119,6 +120,7 @@ if($_FILES['excelfile']['tmp_name']) { $sql2 = " select count(*) as cnt from {$g4['shop_item_table']} where it_id = '$it_id' "; $row2 = sql_fetch($sql2); if($row2['cnt']) { + $fail_it_id[] = $it_id; $dup_it_id[] = $it_id; $dup_count++; $fail_count++; @@ -129,6 +131,7 @@ if($_FILES['excelfile']['tmp_name']) { $sql2 = " select count(*) as cnt from {$g4['shop_category_table']} where ca_id = '$ca_id' "; $row2 = sql_fetch($sql2); if(!$row2['cnt']) { + $fail_it_id[] = $it_id; $fail_count++; continue; } @@ -159,6 +162,10 @@ include_once(G4_PATH.'/head.sub.php');
실패건수
+ 0) { ?> +
실패상품코드
+
+ 0) { ?>
상품코드중복건수