- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
25 lines
930 B
PHP
25 lines
930 B
PHP
<?php
|
|
$num = $row['num'] ?? '';
|
|
$major_category = $row['major_category'] ?? ''; // 대분류
|
|
$seconditem = $row['seconditem'] ?? '';
|
|
$spec = $row['spec'] ?? '';
|
|
$model_name = $row['model_name'] ?? '';
|
|
$finishing_type = $row['finishing_type'] ?? 'SUS'; // 기본값: 'SUS'
|
|
$unitprice = $row['unitprice'] ?? ''; // 산출단가/M
|
|
$description = $row['description'] ?? ''; // 메모
|
|
$created_at = $row['created_at'] ?? ''; // 등록일
|
|
$updated_at = $row['updated_at'] ?? ''; // 수정일
|
|
$priceDate = $row['priceDate'] ?? ''; // 단가일자 기록
|
|
|
|
$is_deleted = $row['is_deleted'] ?? 0;
|
|
$update_log = $row['update_log'] ?? '';
|
|
$check_type = $row['check_type'] ?? '';
|
|
$box_width = $row['box_width'] ?? '';
|
|
$box_height = $row['box_height'] ?? '';
|
|
$front_bottom_width = $row['front_bottom_width'] ?? '';
|
|
$rail_width = $row['rail_width'] ?? '';
|
|
$exit_direction = $row['exit_direction'] ?? '';
|
|
|
|
$savejson = $row['savejson'] ?? [] ;
|
|
?>
|