|
|
@ -209,7 +209,7 @@ public class ThreadTask { |
|
|
|
diagnoseFaultReq.setFaultId(req.getFaultId()); |
|
|
|
diagnoseFaultReq.setFaultId(req.getFaultId()); |
|
|
|
diagnoseFaultReq.setConfidence(1.0); |
|
|
|
diagnoseFaultReq.setConfidence(1.0); |
|
|
|
diagnoseFaultReq.setLifeTime(24*3);//设置有效期3天
|
|
|
|
diagnoseFaultReq.setLifeTime(24*3);//设置有效期3天
|
|
|
|
diagnoseFaultReq.setPriority(-1); |
|
|
|
diagnoseFaultReq.setPriority(0); |
|
|
|
diagnoseFaultReq.setTenantId(req.getStation()); |
|
|
|
diagnoseFaultReq.setTenantId(req.getStation()); |
|
|
|
diagnoseFaultReq.setCreateUser(ObjectUtil.isEmpty(AuthUtil.getUser()) ? "告警推送" : AuthUtil.getUser().getUserName()); |
|
|
|
diagnoseFaultReq.setCreateUser(ObjectUtil.isEmpty(AuthUtil.getUser()) ? "告警推送" : AuthUtil.getUser().getUserName()); |
|
|
|
faultAllReq.setManualData(diagnoseFaultReq); |
|
|
|
faultAllReq.setManualData(diagnoseFaultReq); |
|
|
|