1 简介
今天向大家介绍一个帮助往届学生完成的毕业设计项目,基于datav实现的大屏可视化分析。
计算机毕业生设计,课程设计需要帮助的可以戳我
基于dataV实现的大屏可视化分析系统
2 设计概要
21世纪是信息化时代,随着信息技术和网络技术的发展,信息化已经渗透到人们日常生活的各个方面,人们可以随时随地浏览到海量信息,但是这些大量信息千差万别,需要费事费力的筛选、甄别自己喜欢或者感兴趣的数据。对网络电影服务来说,需要用到优秀的协同过滤推荐功能去辅助整个系统。
本系统基于java技术,使用UML建模,采用springboot框架组合进行设计,Mysql数据库存储数据。本系统的功能主要包括:用户注册、登录、信息维护、卫星系统管理以及管理员进行信息管理等。
3 系统关键技术
使用springboot,vue,datav,mysql进行开发
4 开发工具
开发工具主要有:idea、jdk1.8、maven、mysql5.7、Navicat等。
5 代码展示
@GetMapping("/last")
public SatelliteChartBean getLast() {
var lastLog = runningLogMapper.selectOne(
Wrappers.<RunningLogEntity>lambdaQuery()
.select(RunningLogEntity::getVersion)
.orderByDesc(RunningLogEntity::getVersion)
.last("LIMIT 1")
);
if (lastLog == null) {
return null;
}
SatelliteChartBean bean = new SatelliteChartBean();
bean.setLine(
new LineBean()
.setColor("#0066CC")
);
var satelliteList = satelliteMapper.selectList(
Wrappers.<SatelliteEntity>lambdaQuery()
.in(
SatelliteEntity::getStatus,
Arrays.asList(StatusEnum.ACTIVE.code(), StatusEnum.UNSTABLE.code())
)
);
List<PointsBean> pointsList = new ArrayList<>();
for (SatelliteEntity satellite : satelliteList) {
PointsBean points = new PointsBean();
points.setName(satellite.getSatelliteName());
points.setCoordinate(Arrays.asList(satellite.getLongitude(), satellite.getLatitude()));
pointsList.add(points);
}
var stationList = stationMapper.selectList(
Wrappers.<StationEntity>lambdaQuery()
.in(
StationEntity::getStatus,
Arrays.asList(StatusEnum.ACTIVE.code(), StatusEnum.UNSTABLE.code())
)
);
for (StationEntity station : stationList) {
PointsBean points = new PointsBean();
points.setName(station.getStationName());
points.setCoordinate(Arrays.asList(station.getLongitude(), station.getLatitude()));
pointsList.add(points);
}
bean.setPoints(pointsList);
var logList = runningLogMapper.selectList(
Wrappers.<RunningLogEntity>lambdaQuery()
.eq(RunningLogEntity::getVersion, lastLog.getVersion())
.eq(RunningLogEntity::getSourceType, RunningLogTypeEnum.SATELLITE.code())
.eq(RunningLogEntity::getTargetType, RunningLogTypeEnum.STATION.code())
);
var linesList = new ArrayList<LinesBean>();
for (RunningLogEntity log : logList) {
var source = satelliteMapper.selectById(log.getSourceId());
var target = stationMapper.selectById(log.getTargetId());
var lines = new LinesBean();
lines.setSource(source.getSatelliteName());
lines.setTarget(target.getStationName());
linesList.add(lines);
}
bean.setLines(linesList);
return bean;
}
package com.example.demo.mapper;
import com.example.demo.entity.SatelliteEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface SatelliteMapper extends BaseMapper<SatelliteEntity> {
}
6 系统功能描述
系统代码目录
项目功能演示
7 最后
计算机毕业生设计,课程设计需要帮助的可以戳我