화폐단위 변경 샘플 등록

This commit is contained in:
김현욱
2025-12-05 16:59:21 +09:00
parent 528819f3da
commit 2cbe57741f
3 changed files with 49 additions and 32 deletions

View File

@@ -139,4 +139,15 @@ public class PropertyService {
String propertyPath = String.format("bankda.%s", key);
return env.getProperty(propertyPath);
}
/**
* amount-unit 프로퍼티 조회
* @param
* @return
*/
public static String getPropertyCurrencyUnit(String unit) {
String propertyPath = String.format("currency-unit.%s", unit);
return env.getProperty(propertyPath);
}
}