Commit 62ce7638 by huangfusuper

Merge remote-tracking branch 'origin/developer' into developer

parents 59ce5e4b af866fe8
...@@ -347,8 +347,13 @@ public class ApiNodeServiceImpl implements ApiNodeService { ...@@ -347,8 +347,13 @@ public class ApiNodeServiceImpl implements ApiNodeService {
if(null != javaTask.getRepeatCount() && -1 != javaTask.getRepeatCount()){ if(null != javaTask.getRepeatCount() && -1 != javaTask.getRepeatCount()){
javaTask.setRemainingCount(javaTask.getRemainingCount()); javaTask.setRemainingCount(javaTask.getRemainingCount());
} }
if (null != javaTask.getAlarmlAction() && "0".equals(javaTask.getAlarmlAction())){ //设置为不告警
ValidationUtil.dataNotBank(javaTask.getAlarmEmail(), "设置为告警时告警邮箱不允许为空"); if (null != javaTask.getAlarmlAction() && !"0".equals(javaTask.getAlarmlAction())){
//邮箱为空
if(StringUtils.isBlank(javaTask.getAlarmEmail())){
ValidationUtil.dataNotBank(javaTask.getAlarmEmail(), "设置为告警时告警邮箱不允许为空");
}
} }
return javaTask; return javaTask;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment