|
|
@ -150,8 +150,8 @@ public class DcWarningServiceImpl implements IDcWarningService |
|
|
|
dcWarning.getWarningType()!=10) { |
|
|
|
dcEvent.setEventSubclass(ValueConverter.convertValueSon(dcWarning.getWarningSubclass()));//事件子类(7与10不转)
|
|
|
|
} |
|
|
|
if (StringUtils.isBlank(dcWarning.getWarningSubclass())&&dcWarning.getWarningType()==7|| |
|
|
|
dcWarning.getWarningType()==10){ |
|
|
|
if (StringUtils.isBlank(dcWarning.getWarningSubclass())&&(dcWarning.getWarningType()==7|| |
|
|
|
dcWarning.getWarningType()==10)){ |
|
|
|
dcEvent.setEventSubclass(dcWarning.getWarningSubclass());//事件子类(7与10主类对应的子类直接set)
|
|
|
|
} |
|
|
|
dcEvent.setEventTitle(dcWarning.getWarningTitle());//标题
|
|
|
|