enum 공통코드로 추가

This commit is contained in:
2025-12-18 14:18:34 +09:00
parent 9c44c769b6
commit 52fbceb53c
3 changed files with 62 additions and 12 deletions

View File

@@ -122,7 +122,16 @@ public class CommonCodeService {
return commonCodeCoreService.getCode(parentCodeCd, childCodeCd);
}
public Map<String, List<CodeDto>> getAllCodes() {
public List<CodeDto> getTypeCode(String type) {
return Enums.getCodes(type);
}
/**
* 공통코드 리스트 조회
*
* @return
*/
public Map<String, List<CodeDto>> getTypeCodes() {
return Enums.getAllCodes();
}
}