상품 엑셀 가져오기 시 상품코드가 지수인 경우 처리 수정

This commit is contained in:
thisgun
2021-01-25 15:04:48 +09:00
parent 22167e598c
commit 8679f23fa5

View File

@ -47,7 +47,8 @@ if($is_upload_file) {
TRUE,
FALSE);
$it_id = addslashes($rowData[0][$j++]);
$it_id = (string) $rowData[0][$j++];
$it_id = preg_match('/[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)/', $it_id) ? addslashes(sprintf("%.0f", $it_id)) : preg_replace('/[^0-9a-z_\-]/i', '', $it_id);
$ca_id = addslashes($rowData[0][$j++]);
$ca_id2 = addslashes($rowData[0][$j++]);
$ca_id3 = addslashes($rowData[0][$j++]);