권혁성
f7ad9ae36e
feat(재고): stock_transactions 입출고 거래 이력 테이블 추가
...
- stock_transactions 마이그레이션 생성 (type, qty, balance_qty, reference)
- StockTransaction 모델 (IN/OUT/RESERVE/RELEASE 타입, 사유 상수)
- StockService 5개 메서드에 거래 이력 기록 추가
- increaseFromReceiving → IN
- decreaseFIFO → OUT (LOT별)
- reserve → RESERVE (LOT별)
- releaseReservation → RELEASE (LOT별)
- decreaseForShipment → OUT (LOT별)
- Stock 모델에 transactions() 관계 추가
- 기존 audit_logs 기록은 유지 (감사 로그와 거래 이력 목적 분리)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 15:05:03 +09:00
..
2025-12-26 15:00:57 +09:00
2025-12-21 04:12:57 +09:00
2025-12-17 23:23:20 +09:00
2025-12-17 23:23:20 +09:00
2025-12-17 23:23:20 +09:00
2025-12-17 23:23:20 +09:00
2025-12-30 17:25:13 +09:00
2026-01-27 14:47:39 +09:00
2025-12-17 21:02:20 +09:00
2025-12-21 04:12:57 +09:00
2025-12-23 23:42:02 +09:00
2025-12-23 23:42:02 +09:00
2025-12-17 21:02:20 +09:00
2025-12-19 16:53:49 +09:00
2025-12-26 15:00:57 +09:00
2025-12-21 04:12:57 +09:00
2026-01-23 11:06:06 +09:00
2026-01-26 20:29:22 +09:00
2025-12-26 01:32:07 +09:00
2025-12-17 20:13:48 +09:00
2025-12-24 19:39:33 +09:00
2025-12-26 15:48:06 +09:00
2025-12-18 14:27:10 +09:00
2025-12-18 16:20:29 +09:00
2025-12-18 10:56:16 +09:00
2025-12-18 10:56:16 +09:00
2025-12-18 16:20:29 +09:00
2026-01-13 19:49:11 +09:00
2026-01-22 22:47:25 +09:00
2025-12-26 15:45:33 +09:00
2026-01-13 19:49:11 +09:00
2026-01-22 17:23:36 +09:00
2026-01-26 20:29:22 +09:00
2025-08-21 09:50:15 +09:00
2026-01-23 21:32:23 +09:00
2026-01-26 20:29:22 +09:00
2026-01-09 16:34:59 +09:00
2026-01-13 19:49:11 +09:00
2026-01-29 15:05:03 +09:00
2025-12-26 15:45:48 +09:00
2026-01-29 15:05:03 +09:00
2025-12-18 16:20:29 +09:00
2025-12-21 04:12:57 +09:00
2025-11-10 22:09:28 +09:00
2025-08-21 09:50:15 +09:00
2025-08-21 09:50:15 +09:00
2025-08-21 09:50:15 +09:00
2026-01-26 20:29:22 +09:00
2025-11-14 11:47:28 +09:00
2025-12-30 17:25:13 +09:00
2026-01-28 13:57:46 +09:00
2025-12-26 15:46:48 +09:00
2025-12-30 21:42:20 +09:00