MonitoringProperty 로거 추가

This commit is contained in:
Rinjae
2025-12-10 22:13:23 +09:00
parent 85a5c630b5
commit 7136a36e78
@@ -2,6 +2,7 @@ package com.eactive.eai.rms.data.entity.man.monitoringProperty.service;
import java.util.Optional;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -14,6 +15,7 @@ import com.querydsl.core.types.dsl.BooleanExpression;
@Service
@Transactional
@Slf4j
public class MonitoringPropertyService
extends AbstractDataService<MonitoringProperty, MonitoringPropertyId, MonitoringPropertyRepository> {
@@ -44,9 +46,12 @@ public class MonitoringPropertyService
if (property.isPresent()) {
String value = property.get().getPrpty2Val();
if (value != null && !value.isEmpty()) {
log.debug("getPropertyValue - {} : {}", prptyName, value);
return value;
}
}
log.debug("getPropertyValue - {} : {} (defaultValue)", prptyName, defaultValue);
return defaultValue;
}