- selectEstimateRoofCertVolKw: COALESCE(NULLIF(CONN_VOL_W,0), SUM(SPEC_X_QTY))
비0 저장값은 유닛별 접속용량으로 우선, NULL·0이면 위치기반 합으로 폴백.
기존 데이터·거짓0 저장 건 모두 롤백판과 동일하게 동작 보장.
- getPcsCircuitList: 빈 itemId 회로 아이템({}) 선제 제거.
단일 PCS+다회로를 [{PCS},{},{}]로 보낸 경우 단일 PCS 분기로 올바르게 진입.
- sumModuleSpecW: 모듈 W 합이 0이면 "0" 대신 null 반환.
CONN_VOL_W=0 저장(=거짓 0)을 원천 차단하여 쿼리 NULLIF 폴백이 동작하게 함.
Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
QCast3 API Service
IntelliJ Code Formatter 적용
- google-java-format plugin 설치
- settings -> google-java-format setting -> enable
- settings -> tools -> actions on save -> Reformat code, Optimize import check
Eclipse Code Style 적용
- qcast-api - doc - eclipse-java-google-style.xml 파일을 다운로드
- Preferences -> Java -> Code Style -> Formatter -> Import -> eclipse-java-google-style.xml 적용
- Preferences -> Java -> Editor -> Save Actions -> Format source code 체크
Description
Languages
Java
100%