This commit is contained in:
张良(004796)
2024-04-03 19:06:17 +08:00
parent 89167adae4
commit b3e960fcac
3 changed files with 23 additions and 10 deletions

View File

@@ -62,6 +62,9 @@ public class SystemConfigManager {
public BigDecimal getSystemConfigOfBigDecimal(SystemConfigEnum systemConfig){
String value = getSystemConfig(systemConfig);
if(StringUtils.isBlank(value)){
return new BigDecimal(0);
}
return new BigDecimal(value);
}