|
|
|
@ -235,7 +235,6 @@ public class AlarmConfigDetailServiceImpl extends BaseServiceImpl<AlarmConfigDet
|
|
|
|
|
if (ObjectUtils.isNotEmpty(alarmDefaultConfigEntity)){ |
|
|
|
|
BeanUtils.copyProperties(alarmDefaultConfigEntity,detail); |
|
|
|
|
}else { |
|
|
|
|
detail.setAlarmType(source); |
|
|
|
|
detail.setAlarmChiledType(type); |
|
|
|
|
detail.setIsRightTabulation(1); |
|
|
|
|
detail.setIsShowAlert(1); |
|
|
|
@ -246,6 +245,7 @@ public class AlarmConfigDetailServiceImpl extends BaseServiceImpl<AlarmConfigDet
|
|
|
|
|
detail.setIsShortMessage(1); |
|
|
|
|
detail.setIsWxMessage(1); |
|
|
|
|
} |
|
|
|
|
detail.setAlarmType(source); |
|
|
|
|
detail.setId(null); |
|
|
|
|
detail.setStrategyId(entity.getId()); |
|
|
|
|
return detail; |
|
|
|
|