1、便携式设备台账调整
2、事件入库参数优化
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user