1、便携式设备台账调整

2、事件入库参数优化
This commit is contained in:
xy
2026-04-01 20:30:16 +08:00
parent f227fe3c3f
commit 71b9bee182
7 changed files with 135 additions and 23 deletions

View File

@@ -167,6 +167,9 @@ public class EventServiceImpl implements IEventService {
if (Objects.equals(param.getName(),ZlConstant.EVT_PARAM_VVADEPTH)) {
csEvent.setAmplitude(Double.parseDouble(param.getData().toString()));
}
if (Objects.equals(param.getName(),"Evt_Param_Phase")) {
csEvent.setPhase(param.getData().toString());
}
fields.put(param.getName(),param.getData());
}
//只有治理型号的设备有监测位置
@@ -221,6 +224,7 @@ public class EventServiceImpl implements IEventService {
rmpEventDetailPo.setEventDescribe(getTag(item.getTag()));
rmpEventDetailPo.setDealFlag(0);
rmpEventDetailPo.setFileFlag(0);
rmpEventDetailPo.setPhase(item.getPhase());
wlRmpEventDetailMapper.insert(rmpEventDetailPo);
}