驾驶舱接口开发

This commit is contained in:
hzj
2025-05-26 16:39:16 +08:00
parent e130af4dcf
commit 0e3dba2afa
13 changed files with 560 additions and 12 deletions

View File

@@ -23,6 +23,7 @@ import org.influxdb.impl.InfluxDBResultMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import java.time.LocalDateTime;
import java.util.List;
@@ -136,7 +137,12 @@ public class EventDetailServiceImpl extends ServiceImpl<EventDetailMapper, RmpEv
rmpEventDetailPO.setDuration(deatilDTO.getDuration()/1000);
rmpEventDetailPO.setFeatureAmplitude(deatilDTO.getAmplitude()/100);
rmpEventDetailPO.setPhase(deatilDTO.getPhase());
rmpEventDetailPO.setWavePath(deatilDTO.getWavePath());
if(StringUtils.isEmpty(deatilDTO.getWavePath())){
rmpEventDetailPO.setFileFlag(0);
}else {
rmpEventDetailPO.setFileFlag(1);
}
rmpEventDetailPO.setEventDescribe(" ");
//默认都是其他
DictData reason = dicDataFeignClient.getDicDataByCode(DicDataEnum.RESON_REST.getCode()).getData();