Browse Source

智能诊断接口修改

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

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

@ -448,7 +448,9 @@ public class FdpMonitorServiceImpl extends BaseServiceImpl<FdpMonitorMapper, Fdp
// key = taskDTO.getId().toString();
redisTemplate.opsForValue().set(fdpReturnValuePath + "_" + key, JSONObject.toJSONString(r2));
redisTemplate.expire(fdpReturnValuePath + "_" + key, 30, TimeUnit.MINUTES);
return nextstep;
Map<String, String> map = new HashMap<>();
map.put("id", key);
return R.data(map);
}
@Override
public R updateFaultStateAll(FdpTaskDTO taskDTO) {

Loading…
Cancel
Save