관련 파일: [waste/wastewater.html](https://gitea.hmac.kr/Hyein/issue-sample/src/branch/master/waste/wastewater.html)
전날의 운영 데이터를 금일 작성 화면에 자동으로 연동하여 반복적인 데이터 입력 과정을 최소화합니다. 데이터의 연속성을 보장하고 입력 편의성을 획기적으로 개선합니다.
**관련 코드 위치:**
- [전일 데이터 이월 실행 로직 (applyPrevDayTodayToCurrentPrev)](https://gitea.hmac.kr/Hyein/issue-sample/src/branch/master/waste/wastewater.html#L2183)
- [날짜 기반 전일 키 조회 (getPrevDateKey)](https://gitea.hmac.kr/Hyein/issue-sample/src/branch/master/waste/wastewater.html#L2092)
- [이월 대상 필드 쌍 매핑 (getWaterPrevTodayFieldPairs)](https://gitea.hmac.kr/Hyein/issue-sample/src/branch/master/waste/wastewater.html#L2113)
**요구 사항 상세:**
- **자동 이월 로직**: 전날(D-1) 저장된 '금일 지침' 데이터를 금일(D)의 '전일 지침' 필드에 자동으로 로드하여 중복 입력을 방지합니다.
- **데이터 스냅샷**: 작성일 변경 시 해당 날짜의 최신 데이터 상태를 즉시 동기화하고, 미저장 날짜는 초기화 상태로 관리합니다.
- **조건부 연동**: 전날 문서가 확정(PDF 저장)된 경우에만 데이터를 이월하도록 하여 데이터의 신뢰성을 확보합니다.
- **빈 값 처리**: 전날 데이터가 없을 경우 이월을 수행하지 않고 사용자 직접 입력을 허용합니다.
---
**상위 마스터 이슈**: #28
Hyein
added the (주)장헌::환경 label 2026-03-19 11:58:21 +09:00
Hyein
self-assigned this 2026-03-19 13:05:21 +09:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
관련 파일: waste/wastewater.html
전날의 운영 데이터를 금일 작성 화면에 자동으로 연동하여 반복적인 데이터 입력 과정을 최소화합니다. 데이터의 연속성을 보장하고 입력 편의성을 획기적으로 개선합니다.
관련 코드 위치:
요구 사항 상세:
상위 마스터 이슈: #28