사이트·관리자 봉투 물류 기능(수불·통계·레포트·재고·발주)과 DB·메뉴·E2E를 운영 반영한다.

통계 분석(전년대비·월별·계절별), 수급계획·LOT 수불, 지정판매소·실사·메뉴 링크 등을 포함한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
taekyoungc
2026-06-01 16:15:15 +09:00
parent 21e7b91871
commit 0f1d414f37
129 changed files with 18068 additions and 1585 deletions

View File

@@ -0,0 +1,22 @@
-- ============================================
-- 실사 팩 스냅샷 테이블
-- ============================================
CREATE TABLE IF NOT EXISTS `bag_inventory_inspection_pack_snapshot` (
`bisp_idx` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`bisp_bisi_idx` INT UNSIGNED NOT NULL COMMENT 'bag_inventory_inspection_item FK',
`bisp_lg_idx` INT UNSIGNED NOT NULL,
`bisp_bag_code` VARCHAR(50) NOT NULL,
`bisp_box_code` VARCHAR(80) NOT NULL DEFAULT '',
`bisp_pack_code` VARCHAR(80) NOT NULL,
`bisp_sheet_start_code` VARCHAR(120) NOT NULL,
`bisp_sheet_end_code` VARCHAR(120) NOT NULL,
`bisp_sheet_qty` INT UNSIGNED NOT NULL DEFAULT 0,
`bisp_actual_qty` INT UNSIGNED NULL DEFAULT NULL,
`bisp_diff_qty` INT NOT NULL DEFAULT 0,
`bisp_checked_yn` CHAR(1) NOT NULL DEFAULT 'N',
`bisp_regdate` DATETIME NOT NULL,
PRIMARY KEY (`bisp_idx`),
UNIQUE KEY `uk_bisp_item_pack` (`bisp_bisi_idx`, `bisp_pack_code`),
KEY `idx_bisp_item` (`bisp_bisi_idx`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='실사 팩 스냅샷';