Browse Source

转换

develop
wangsixiang 8 months ago
parent
commit
e5da7d9267
  1. 4
      zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java

4
zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java

@ -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());//标题

Loading…
Cancel
Save