Browse Source

集中监控智能诊断代码修改

zhongwei
tyty 1 year ago
parent
commit
d13de88d25
  1. 2
      hzims-service/equipment/src/main/java/com/hnac/hzims/fdp/service/impl/FdpMonitorServiceImpl.java

2
hzims-service/equipment/src/main/java/com/hnac/hzims/fdp/service/impl/FdpMonitorServiceImpl.java

@ -445,7 +445,7 @@ public class FdpMonitorServiceImpl extends BaseServiceImpl<FdpMonitorMapper, Fdp
diagnoseStatusVo.setMessage("诊断成功"); diagnoseStatusVo.setMessage("诊断成功");
diagnoseStatusVo.setData(nextstep.getData()); diagnoseStatusVo.setData(nextstep.getData());
r2.setData(diagnoseStatusVo); r2.setData(diagnoseStatusVo);
key = taskDTO.getId().toString(); // key = taskDTO.getId().toString();
redisTemplate.opsForValue().set(fdpReturnValuePath + "_" + key, JSONObject.toJSONString(r2)); redisTemplate.opsForValue().set(fdpReturnValuePath + "_" + key, JSONObject.toJSONString(r2));
redisTemplate.expire(fdpReturnValuePath + "_" + key, 30, TimeUnit.MINUTES); redisTemplate.expire(fdpReturnValuePath + "_" + key, 30, TimeUnit.MINUTES);
return nextstep; return nextstep;

Loading…
Cancel
Save