├── .gitignore ├── README.md ├── image ├── 1.png ├── 10.png ├── 11.png ├── 12.png ├── 13.png ├── 2.png ├── 3.png ├── 4.png ├── 5.png ├── 6.png ├── 7.png ├── 8.png └── 9.png ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ ├── SpringbootSchemaApplication.java │ │ ├── annotation │ │ ├── APPLoginUser.java │ │ ├── IgnoreAuth.java │ │ └── LoginUser.java │ │ ├── config │ │ ├── AlipayConfig.java │ │ ├── InterceptorConfig.java │ │ └── MybatisPlusConfig.java │ │ ├── controller │ │ ├── AboutusController.java │ │ ├── CommonController.java │ │ ├── ConfigController.java │ │ ├── FangyirenyuanController.java │ │ ├── FileController.java │ │ ├── GnssdtController.java │ │ ├── HesuanjiancedianController.java │ │ ├── HesuanjianceyuyueController.java │ │ ├── HesuanjieguoController.java │ │ ├── MessagesController.java │ │ ├── NewsController.java │ │ ├── QgsssjController.java │ │ ├── SystemintroController.java │ │ ├── UsersController.java │ │ └── YonghuController.java │ │ ├── dao │ │ ├── AboutusDao.java │ │ ├── CommonDao.java │ │ ├── ConfigDao.java │ │ ├── FangyirenyuanDao.java │ │ ├── GnssdtDao.java │ │ ├── HesuanjiancedianDao.java │ │ ├── HesuanjianceyuyueDao.java │ │ ├── HesuanjieguoDao.java │ │ ├── MessagesDao.java │ │ ├── NewsDao.java │ │ ├── QgsssjDao.java │ │ ├── SystemintroDao.java │ │ ├── TokenDao.java │ │ ├── UsersDao.java │ │ └── YonghuDao.java │ │ ├── entity │ │ ├── AboutusEntity.java │ │ ├── ConfigEntity.java │ │ ├── EIException.java │ │ ├── FangyirenyuanEntity.java │ │ ├── GnssdtEntity.java │ │ ├── HesuanjiancedianEntity.java │ │ ├── HesuanjianceyuyueEntity.java │ │ ├── HesuanjieguoEntity.java │ │ ├── MessagesEntity.java │ │ ├── NewsEntity.java │ │ ├── QgsssjEntity.java │ │ ├── SystemintroEntity.java │ │ ├── TokenEntity.java │ │ ├── UsersEntity.java │ │ ├── YonghuEntity.java │ │ ├── model │ │ │ ├── AboutusModel.java │ │ │ ├── FangyirenyuanModel.java │ │ │ ├── GnssdtModel.java │ │ │ ├── HesuanjiancedianModel.java │ │ │ ├── HesuanjianceyuyueModel.java │ │ │ ├── HesuanjieguoModel.java │ │ │ ├── MessagesModel.java │ │ │ ├── NewsModel.java │ │ │ ├── QgsssjModel.java │ │ │ ├── SystemintroModel.java │ │ │ └── YonghuModel.java │ │ ├── view │ │ │ ├── AboutusView.java │ │ │ ├── FangyirenyuanView.java │ │ │ ├── GnssdtView.java │ │ │ ├── HesuanjiancedianView.java │ │ │ ├── HesuanjianceyuyueView.java │ │ │ ├── HesuanjieguoView.java │ │ │ ├── MessagesView.java │ │ │ ├── NewsView.java │ │ │ ├── QgsssjView.java │ │ │ ├── SystemintroView.java │ │ │ └── YonghuView.java │ │ └── vo │ │ │ ├── AboutusVO.java │ │ │ ├── FangyirenyuanVO.java │ │ │ ├── GnssdtVO.java │ │ │ ├── HesuanjiancedianVO.java │ │ │ ├── HesuanjianceyuyueVO.java │ │ │ ├── HesuanjieguoVO.java │ │ │ ├── MessagesVO.java │ │ │ ├── NewsVO.java │ │ │ ├── QgsssjVO.java │ │ │ ├── SystemintroVO.java │ │ │ └── YonghuVO.java │ │ ├── interceptor │ │ └── AuthorizationInterceptor.java │ │ ├── service │ │ ├── AboutusService.java │ │ ├── CommonService.java │ │ ├── ConfigService.java │ │ ├── FangyirenyuanService.java │ │ ├── GnssdtService.java │ │ ├── HesuanjiancedianService.java │ │ ├── HesuanjianceyuyueService.java │ │ ├── HesuanjieguoService.java │ │ ├── MessagesService.java │ │ ├── NewsService.java │ │ ├── QgsssjService.java │ │ ├── SystemintroService.java │ │ ├── TokenService.java │ │ ├── UsersService.java │ │ ├── YonghuService.java │ │ └── impl │ │ │ ├── AboutusServiceImpl.java │ │ │ ├── CommonServiceImpl.java │ │ │ ├── ConfigServiceImpl.java │ │ │ ├── FangyirenyuanServiceImpl.java │ │ │ ├── GnssdtServiceImpl.java │ │ │ ├── HesuanjiancedianServiceImpl.java │ │ │ ├── HesuanjianceyuyueServiceImpl.java │ │ │ ├── HesuanjieguoServiceImpl.java │ │ │ ├── MessagesServiceImpl.java │ │ │ ├── NewsServiceImpl.java │ │ │ ├── QgsssjServiceImpl.java │ │ │ ├── SystemintroServiceImpl.java │ │ │ ├── TokenServiceImpl.java │ │ │ ├── UsersServiceImpl.java │ │ │ └── YonghuServiceImpl.java │ │ └── utils │ │ ├── BaiduUtil.java │ │ ├── CommonUtil.java │ │ ├── FileUtil.java │ │ ├── HttpClientUtils.java │ │ ├── JQPageInfo.java │ │ ├── MD5Util.java │ │ ├── MPUtil.java │ │ ├── PageUtils.java │ │ ├── Query.java │ │ ├── R.java │ │ ├── SQLFilter.java │ │ ├── SpringContextUtils.java │ │ └── ValidatorUtils.java └── resources │ ├── application.yml │ ├── mapper │ ├── AboutusDao.xml │ ├── CommonDao.xml │ ├── ConfigDao.xml │ ├── FangyirenyuanDao.xml │ ├── GnssdtDao.xml │ ├── HesuanjiancedianDao.xml │ ├── HesuanjianceyuyueDao.xml │ ├── HesuanjieguoDao.xml │ ├── MessagesDao.xml │ ├── NewsDao.xml │ ├── QgsssjDao.xml │ ├── SystemintroDao.xml │ ├── TokenDao.xml │ ├── UsersDao.xml │ └── YonghuDao.xml │ └── static │ └── upload │ ├── 1577351717989.jpg │ ├── aboutus_picture1.jpg │ ├── aboutus_picture2.jpg │ ├── aboutus_picture3.jpg │ ├── fangyirenyuan_touxiang1.jpg │ ├── fangyirenyuan_touxiang2.jpg │ ├── fangyirenyuan_touxiang3.jpg │ ├── fangyirenyuan_touxiang4.jpg │ ├── fangyirenyuan_touxiang5.jpg │ ├── fangyirenyuan_touxiang6.jpg │ ├── fangyirenyuan_touxiang7.jpg │ ├── fangyirenyuan_touxiang8.jpg │ ├── hesuanjiancedian_fengmiantupian1.jpg │ ├── hesuanjiancedian_fengmiantupian2.jpg │ ├── hesuanjiancedian_fengmiantupian3.jpg │ ├── hesuanjiancedian_fengmiantupian4.jpg │ ├── hesuanjiancedian_fengmiantupian5.jpg │ ├── hesuanjiancedian_fengmiantupian6.jpg │ ├── hesuanjiancedian_fengmiantupian7.jpg │ ├── hesuanjiancedian_fengmiantupian8.jpg │ ├── messages_cpicture1.jpg │ ├── messages_cpicture2.jpg │ ├── messages_cpicture3.jpg │ ├── messages_cpicture4.jpg │ ├── messages_cpicture5.jpg │ ├── messages_cpicture6.jpg │ ├── messages_cpicture7.jpg │ ├── messages_cpicture8.jpg │ ├── messages_rpicture1.jpg │ ├── messages_rpicture2.jpg │ ├── messages_rpicture3.jpg │ ├── messages_rpicture4.jpg │ ├── messages_rpicture5.jpg │ ├── messages_rpicture6.jpg │ ├── messages_rpicture7.jpg │ ├── messages_rpicture8.jpg │ ├── news_picture1.jpg │ ├── news_picture2.jpg │ ├── news_picture3.jpg │ ├── news_picture4.jpg │ ├── news_picture5.jpg │ ├── news_picture6.jpg │ ├── news_picture7.jpg │ ├── news_picture8.jpg │ ├── picture1.jpg │ ├── picture2.jpg │ ├── picture3.jpg │ ├── systemintro_picture1.jpg │ ├── systemintro_picture2.jpg │ ├── systemintro_picture3.jpg │ ├── test │ ├── yonghu_touxiang1.jpg │ ├── yonghu_touxiang2.jpg │ ├── yonghu_touxiang3.jpg │ ├── yonghu_touxiang4.jpg │ ├── yonghu_touxiang5.jpg │ ├── yonghu_touxiang6.jpg │ ├── yonghu_touxiang7.jpg │ └── yonghu_touxiang8.jpg └── test └── java └── com └── SpringbootSchemaApplicationTests.java /.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 基于Springboot的疫情防控管理系统的数据可视化分析 2 | = 3 | ### 完整代码获取地址:从戎源码网 ([https://armycodes.com/](https://armycodes.com/)) 4 | ### 作者微信:19941326836 QQ:952045282 5 | ### 承接计算机毕业设计、Java毕业设计、Python毕业设计、深度学习、机器学习 6 | ### 选题+开题报告+任务书+程序定制+安装调试+论文+答辩ppt 一条龙服务 7 | ### 所有选题地址https://github.com/nature924/allProject 8 | 9 | 一、项目介绍 10 | --- 11 | 基于Spring Boot框架实现的疫情防控管理系统的数据可视化分析,系统包含三种角色:管理员、用户,防疫人员主要功能如下。 12 | ### 【用户功能】 13 | 14 | 1. **首页:** 查看系统的主要信息。 15 | 2. **核酸检测点:** 浏览核酸检测点的位置和相关信息。 16 | 3. **疫情资讯:** 获取最新的疫情资讯和预防措施。 17 | 4. **系统留言:** 用户间进行留言和交流。 18 | 5. **后台管理:** 19 | - **系统首页:** 管理系统的整体概况和关键数据。 20 | - **个人中心:** 管理个人信息。 21 | - **全国实时数据管理:** 查看和分析全国的实时疫情数据。 22 | - **国内实时动态管理:** 查看国内的实时疫情动态。 23 | - **核酸检测预约管理:** 预约核酸检测服务。 24 | - **核酸结果管理:** 查看核酸检测结果。 25 | 6. **个人中心:** 管理个人信息。 26 | 27 | ### 【管理员功能】 28 | 29 | 1. **系统首页:** 查看系统的整体概况。 30 | 2. **个人中心:** 修改密码、管理个人信息。 31 | 3. **用户管理:** 审核和管理注册用户的信息。 32 | 4. **防疫人员管理:** 审核和管理注册防疫人员的信息。 33 | 5. **全国实时数据管理:** 查看和分析全国的实时疫情数据。 34 | 6. **国内实时动态管理:** 查看国内的实时疫情动态。 35 | 7. **核酸检测点管理:** 管理核酸检测点的位置和相关信息。 36 | 8. **核酸检测预约管理:** 管理核酸检测的预约服务。 37 | 9. **核酸结果管理:** 管理核酸检测结果。 38 | 10. **系统留言:** 管理用户间的留言和交流。 39 | 11. **系统管理:** 40 | - **疫情资讯:** 发布、编辑和删除系统发布的疫情资讯。 41 | - **关于我们:** 编辑和更新关于系统的介绍。 42 | - **系统简介:** 提供系统的简要介绍。 43 | - **轮播图管理:** 管理系统首页的轮播图。 44 | 45 | ### 【防疫人员功能】 46 | 47 | 1. **系统首页:** 查看系统的整体。 48 | 2. **个人中心:** 修改密码、管理个人信息。 49 | 3. **全国实时数据管理:** 查看和分析全国的实时疫情数据。 50 | 4. **国内实时动态管理:** 查看国内的实时疫情动态。 51 | 5. **核酸检测预约管理:** 管理核酸检测的预约服务。 52 | 6. **核酸结果管理:** 管理核酸检测结果。 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 二、项目技术 62 | --- 63 | - 编程语言:Java 64 | - 数据库:MySQL 65 | - 项目管理工具:Maven 66 | - 前端技术:VUE、HTML、Jquery、Bootstrap 67 | - 后端技术:Spring、SpringMVC、MyBatis 68 | 69 | 三、运行环境 70 | --- 71 | - 操作系统:Windows、macOS都可以 72 | - JDK版本:JDK1.8以上都可以 73 | - 开发工具:IDEA、Ecplise、Myecplise都可以 74 | - 数据库: MySQL5.7以上都可以 75 | - Tomcat:任意版本都可以 76 | - Maven:任意版本都可以 77 | 78 | 四、运行截图 79 | --- 80 | 81 | ### 程序截图: 82 | ![image/1.png](image/1.png) 83 | ![image/1.png](image/2.png) 84 | ![image/1.png](image/3.png) 85 | ![image/1.png](image/4.png) 86 | ![image/1.png](image/5.png) 87 | ![image/1.png](image/6.png) 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/1.png -------------------------------------------------------------------------------- /image/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/10.png -------------------------------------------------------------------------------- /image/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/11.png -------------------------------------------------------------------------------- /image/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/12.png -------------------------------------------------------------------------------- /image/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/13.png -------------------------------------------------------------------------------- /image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/2.png -------------------------------------------------------------------------------- /image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/3.png -------------------------------------------------------------------------------- /image/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/4.png -------------------------------------------------------------------------------- /image/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/5.png -------------------------------------------------------------------------------- /image/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/6.png -------------------------------------------------------------------------------- /image/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/7.png -------------------------------------------------------------------------------- /image/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/8.png -------------------------------------------------------------------------------- /image/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/image/9.png -------------------------------------------------------------------------------- /src/main/java/com/SpringbootSchemaApplication.java: -------------------------------------------------------------------------------- 1 | package com; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.boot.builder.SpringApplicationBuilder; 7 | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; 8 | 9 | @SpringBootApplication 10 | @MapperScan(basePackages = {"com.dao"}) 11 | public class SpringbootSchemaApplication extends SpringBootServletInitializer{ 12 | 13 | public static void main(String[] args) { 14 | SpringApplication.run(SpringbootSchemaApplication.class, args); 15 | } 16 | 17 | @Override 18 | protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) { 19 | return applicationBuilder.sources(SpringbootSchemaApplication.class); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/APPLoginUser.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * 登录用户信息 10 | */ 11 | @Target(ElementType.PARAMETER) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface APPLoginUser { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/IgnoreAuth.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * 忽略Token验证 7 | */ 8 | @Target(ElementType.METHOD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | @Documented 11 | public @interface IgnoreAuth { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/annotation/LoginUser.java: -------------------------------------------------------------------------------- 1 | package com.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * 登录用户信息 10 | */ 11 | @Target(ElementType.PARAMETER) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface LoginUser { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/config/AlipayConfig.java: -------------------------------------------------------------------------------- 1 | package com.config; 2 | 3 | import java.io.FileWriter; 4 | import java.io.IOException; 5 | 6 | /* * 7 | *类名:AlipayConfig 8 | *功能:基础配置类 9 | *详细:设置帐户有关信息及返回路径 10 | *修改日期:2017-04-05 11 | *说明: 12 | *以下代码只是为了方便商户测试而提供的样例代码,商户可以根据自己网站的需要,按照技术文档编写,并非一定要使用该代码。 13 | *该代码仅供学习和研究支付宝接口使用,只是提供一个参考。 14 | */ 15 | 16 | public class AlipayConfig { 17 | } 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/com/config/InterceptorConfig.java: -------------------------------------------------------------------------------- 1 | package com.config; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | import org.springframework.web.servlet.config.annotation.InterceptorRegistry; 6 | import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; 7 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport; 8 | 9 | import com.interceptor.AuthorizationInterceptor; 10 | 11 | @Configuration 12 | public class InterceptorConfig extends WebMvcConfigurationSupport{ 13 | 14 | @Bean 15 | public AuthorizationInterceptor getAuthorizationInterceptor() { 16 | return new AuthorizationInterceptor(); 17 | } 18 | 19 | @Override 20 | public void addInterceptors(InterceptorRegistry registry) { 21 | registry.addInterceptor(getAuthorizationInterceptor()).addPathPatterns("/**").excludePathPatterns("/static/**"); 22 | super.addInterceptors(registry); 23 | } 24 | 25 | /** 26 | * springboot 2.0配置WebMvcConfigurationSupport之后,会导致默认配置被覆盖,要访问静态资源需要重写addResourceHandlers方法 27 | */ 28 | @Override 29 | public void addResourceHandlers(ResourceHandlerRegistry registry) { 30 | registry.addResourceHandler("/**") 31 | .addResourceLocations("classpath:/resources/") 32 | .addResourceLocations("classpath:/static/") 33 | .addResourceLocations("classpath:/admin/") 34 | .addResourceLocations("classpath:/front/") 35 | .addResourceLocations("classpath:/public/"); 36 | super.addResourceHandlers(registry); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/config/MybatisPlusConfig.java: -------------------------------------------------------------------------------- 1 | 2 | package com.config; 3 | 4 | import org.springframework.context.annotation.Bean; 5 | import org.springframework.context.annotation.Configuration; 6 | 7 | import com.baomidou.mybatisplus.mapper.MetaObjectHandler; 8 | import com.baomidou.mybatisplus.plugins.PaginationInterceptor; 9 | 10 | /** 11 | * mybatis-plus配置 12 | */ 13 | @Configuration 14 | public class MybatisPlusConfig { 15 | 16 | /** 17 | * 分页插件 18 | */ 19 | @Bean 20 | public PaginationInterceptor paginationInterceptor() { 21 | return new PaginationInterceptor(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/controller/ConfigController.java: -------------------------------------------------------------------------------- 1 | 2 | package com.controller; 3 | 4 | 5 | import java.util.Arrays; 6 | import java.util.Map; 7 | 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.web.bind.annotation.PathVariable; 10 | import org.springframework.web.bind.annotation.PostMapping; 11 | import org.springframework.web.bind.annotation.RequestBody; 12 | import org.springframework.web.bind.annotation.RequestMapping; 13 | import org.springframework.web.bind.annotation.RequestParam; 14 | import org.springframework.web.bind.annotation.RestController; 15 | 16 | import com.annotation.IgnoreAuth; 17 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 18 | import com.entity.ConfigEntity; 19 | import com.service.ConfigService; 20 | import com.utils.MPUtil; 21 | import com.utils.PageUtils; 22 | import com.utils.R; 23 | import com.utils.ValidatorUtils; 24 | 25 | /** 26 | * 登录相关 27 | */ 28 | @RequestMapping("config") 29 | @RestController 30 | public class ConfigController{ 31 | 32 | @Autowired 33 | private ConfigService configService; 34 | 35 | /** 36 | * 列表 37 | */ 38 | @RequestMapping("/page") 39 | public R page(@RequestParam Map params,ConfigEntity config){ 40 | EntityWrapper ew = new EntityWrapper(); 41 | PageUtils page = configService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, config), params), params)); 42 | return R.ok().put("data", page); 43 | } 44 | 45 | /** 46 | * 列表 47 | */ 48 | @IgnoreAuth 49 | @RequestMapping("/list") 50 | public R list(@RequestParam Map params,ConfigEntity config){ 51 | EntityWrapper ew = new EntityWrapper(); 52 | PageUtils page = configService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, config), params), params)); 53 | return R.ok().put("data", page); 54 | } 55 | 56 | /** 57 | * 信息 58 | */ 59 | @RequestMapping("/info/{id}") 60 | public R info(@PathVariable("id") String id){ 61 | ConfigEntity config = configService.selectById(id); 62 | return R.ok().put("data", config); 63 | } 64 | 65 | /** 66 | * 详情 67 | */ 68 | @IgnoreAuth 69 | @RequestMapping("/detail/{id}") 70 | public R detail(@PathVariable("id") String id){ 71 | ConfigEntity config = configService.selectById(id); 72 | return R.ok().put("data", config); 73 | } 74 | 75 | /** 76 | * 根据name获取信息 77 | */ 78 | @RequestMapping("/info") 79 | public R infoByName(@RequestParam String name){ 80 | ConfigEntity config = configService.selectOne(new EntityWrapper().eq("name", "faceFile")); 81 | return R.ok().put("data", config); 82 | } 83 | 84 | /** 85 | * 保存 86 | */ 87 | @PostMapping("/save") 88 | public R save(@RequestBody ConfigEntity config){ 89 | // ValidatorUtils.validateEntity(config); 90 | configService.insert(config); 91 | return R.ok(); 92 | } 93 | 94 | /** 95 | * 修改 96 | */ 97 | @RequestMapping("/update") 98 | public R update(@RequestBody ConfigEntity config){ 99 | // ValidatorUtils.validateEntity(config); 100 | configService.updateById(config);//全部更新 101 | return R.ok(); 102 | } 103 | 104 | /** 105 | * 删除 106 | */ 107 | @RequestMapping("/delete") 108 | public R delete(@RequestBody Long[] ids){ 109 | configService.deleteBatchIds(Arrays.asList(ids)); 110 | return R.ok(); 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /src/main/java/com/dao/AboutusDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.AboutusEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.AboutusVO; 12 | import com.entity.view.AboutusView; 13 | 14 | 15 | /** 16 | * 关于我们 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface AboutusDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | AboutusVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | AboutusView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/CommonDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | /** 8 | * 通用接口 9 | */ 10 | public interface CommonDao{ 11 | List getOption(Map params); 12 | 13 | Map getFollowByOption(Map params); 14 | 15 | List getFollowByOption2(Map params); 16 | 17 | void sh(Map params); 18 | 19 | int remindCount(Map params); 20 | 21 | Map selectCal(Map params); 22 | 23 | List> selectGroup(Map params); 24 | 25 | List> selectValue(Map params); 26 | 27 | List> selectTimeStatValue(Map params); 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/dao/ConfigDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import com.entity.ConfigEntity; 6 | 7 | /** 8 | * 配置 9 | */ 10 | public interface ConfigDao extends BaseMapper { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/main/java/com/dao/FangyirenyuanDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.FangyirenyuanEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.FangyirenyuanVO; 12 | import com.entity.view.FangyirenyuanView; 13 | 14 | 15 | /** 16 | * 防疫人员 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface FangyirenyuanDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | FangyirenyuanVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | FangyirenyuanView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/GnssdtDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.GnssdtEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.GnssdtVO; 12 | import com.entity.view.GnssdtView; 13 | 14 | 15 | /** 16 | * 国内实时动态 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface GnssdtDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | GnssdtVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | GnssdtView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | List> selectValue(@Param("params") Map params,@Param("ew") Wrapper wrapper); 36 | 37 | List> selectTimeStatValue(@Param("params") Map params,@Param("ew") Wrapper wrapper); 38 | 39 | List> selectGroup(@Param("params") Map params,@Param("ew") Wrapper wrapper); 40 | 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/dao/HesuanjiancedianDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.HesuanjiancedianEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.HesuanjiancedianVO; 12 | import com.entity.view.HesuanjiancedianView; 13 | 14 | 15 | /** 16 | * 核酸检测点 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface HesuanjiancedianDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | HesuanjiancedianVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | HesuanjiancedianView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/HesuanjianceyuyueDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.HesuanjianceyuyueEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.HesuanjianceyuyueVO; 12 | import com.entity.view.HesuanjianceyuyueView; 13 | 14 | 15 | /** 16 | * 核酸检测预约 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface HesuanjianceyuyueDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | HesuanjianceyuyueVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | HesuanjianceyuyueView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | List> selectValue(@Param("params") Map params,@Param("ew") Wrapper wrapper); 36 | 37 | List> selectTimeStatValue(@Param("params") Map params,@Param("ew") Wrapper wrapper); 38 | 39 | List> selectGroup(@Param("params") Map params,@Param("ew") Wrapper wrapper); 40 | 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/dao/HesuanjieguoDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.HesuanjieguoEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.HesuanjieguoVO; 12 | import com.entity.view.HesuanjieguoView; 13 | 14 | 15 | /** 16 | * 核酸结果 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface HesuanjieguoDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | HesuanjieguoVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | HesuanjieguoView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | List> selectValue(@Param("params") Map params,@Param("ew") Wrapper wrapper); 36 | 37 | List> selectTimeStatValue(@Param("params") Map params,@Param("ew") Wrapper wrapper); 38 | 39 | List> selectGroup(@Param("params") Map params,@Param("ew") Wrapper wrapper); 40 | 41 | 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/dao/MessagesDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.MessagesEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.MessagesVO; 12 | import com.entity.view.MessagesView; 13 | 14 | 15 | /** 16 | * 系统留言 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface MessagesDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | MessagesVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | MessagesView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/NewsDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.NewsEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.NewsVO; 12 | import com.entity.view.NewsView; 13 | 14 | 15 | /** 16 | * 疫情资讯 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface NewsDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | NewsVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | NewsView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/QgsssjDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.QgsssjEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.QgsssjVO; 12 | import com.entity.view.QgsssjView; 13 | 14 | 15 | /** 16 | * 全国实时数据 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface QgsssjDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | QgsssjVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | QgsssjView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/SystemintroDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.SystemintroEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.SystemintroVO; 12 | import com.entity.view.SystemintroView; 13 | 14 | 15 | /** 16 | * 关于我们 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface SystemintroDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | SystemintroVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | SystemintroView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/dao/TokenDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 11 | import com.entity.TokenEntity; 12 | 13 | /** 14 | * token 15 | */ 16 | public interface TokenDao extends BaseMapper { 17 | 18 | List selectListView(@Param("ew") Wrapper wrapper); 19 | 20 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/dao/UsersDao.java: -------------------------------------------------------------------------------- 1 | 2 | package com.dao; 3 | 4 | import java.util.List; 5 | 6 | import org.apache.ibatis.annotations.Param; 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 11 | import com.entity.UsersEntity; 12 | 13 | /** 14 | * 用户 15 | */ 16 | public interface UsersDao extends BaseMapper { 17 | 18 | List selectListView(@Param("ew") Wrapper wrapper); 19 | 20 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/dao/YonghuDao.java: -------------------------------------------------------------------------------- 1 | package com.dao; 2 | 3 | import com.entity.YonghuEntity; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | import java.util.List; 6 | import java.util.Map; 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.plugins.pagination.Pagination; 9 | 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.vo.YonghuVO; 12 | import com.entity.view.YonghuView; 13 | 14 | 15 | /** 16 | * 用户 17 | * 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public interface YonghuDao extends BaseMapper { 23 | 24 | List selectListVO(@Param("ew") Wrapper wrapper); 25 | 26 | YonghuVO selectVO(@Param("ew") Wrapper wrapper); 27 | 28 | List selectListView(@Param("ew") Wrapper wrapper); 29 | 30 | List selectListView(Pagination page,@Param("ew") Wrapper wrapper); 31 | 32 | YonghuView selectView(@Param("ew") Wrapper wrapper); 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/entity/ConfigEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import java.io.Serializable; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableId; 6 | import com.baomidou.mybatisplus.annotations.TableName; 7 | import com.baomidou.mybatisplus.enums.IdType; 8 | 9 | /** 10 | * 类说明 : 11 | */ 12 | @TableName("config") 13 | public class ConfigEntity implements Serializable{ 14 | private static final long serialVersionUID = 1L; 15 | 16 | @TableId(type = IdType.AUTO) 17 | private Long id; 18 | 19 | /** 20 | * key 21 | */ 22 | private String name; 23 | 24 | /** 25 | * value 26 | */ 27 | private String value; 28 | 29 | public Long getId() { 30 | return id; 31 | } 32 | 33 | public void setId(Long id) { 34 | this.id = id; 35 | } 36 | 37 | public String getName() { 38 | return name; 39 | } 40 | 41 | public void setName(String name) { 42 | this.name = name; 43 | } 44 | 45 | public String getValue() { 46 | return value; 47 | } 48 | 49 | public void setValue(String value) { 50 | this.value = value; 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/com/entity/EIException.java: -------------------------------------------------------------------------------- 1 | 2 | package com.entity; 3 | 4 | /** 5 | * 自定义异常 6 | */ 7 | public class EIException extends RuntimeException { 8 | private static final long serialVersionUID = 1L; 9 | 10 | private String msg; 11 | private int code = 500; 12 | 13 | public EIException(String msg) { 14 | super(msg); 15 | this.msg = msg; 16 | } 17 | 18 | public EIException(String msg, Throwable e) { 19 | super(msg, e); 20 | this.msg = msg; 21 | } 22 | 23 | public EIException(String msg, int code) { 24 | super(msg); 25 | this.msg = msg; 26 | this.code = code; 27 | } 28 | 29 | public EIException(String msg, int code, Throwable e) { 30 | super(msg, e); 31 | this.msg = msg; 32 | this.code = code; 33 | } 34 | 35 | public String getMsg() { 36 | return msg; 37 | } 38 | 39 | public void setMsg(String msg) { 40 | this.msg = msg; 41 | } 42 | 43 | public int getCode() { 44 | return code; 45 | } 46 | 47 | public void setCode(int code) { 48 | this.code = code; 49 | } 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/entity/GnssdtEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 国内实时动态 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-21 11:55:18 30 | */ 31 | @TableName("gnssdt") 32 | public class GnssdtEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public GnssdtEntity() { 37 | 38 | } 39 | 40 | public GnssdtEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 地区 56 | */ 57 | 58 | private String diqu; 59 | 60 | /** 61 | * 确诊 62 | */ 63 | 64 | private Integer quezhen; 65 | 66 | /** 67 | * 治愈 68 | */ 69 | 70 | private Integer zhiyu; 71 | 72 | /** 73 | * 死亡 74 | */ 75 | 76 | private Integer siwang; 77 | 78 | 79 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 80 | @DateTimeFormat 81 | private Date addtime; 82 | 83 | public Date getAddtime() { 84 | return addtime; 85 | } 86 | public void setAddtime(Date addtime) { 87 | this.addtime = addtime; 88 | } 89 | 90 | public Long getId() { 91 | return id; 92 | } 93 | 94 | public void setId(Long id) { 95 | this.id = id; 96 | } 97 | /** 98 | * 设置:地区 99 | */ 100 | public void setDiqu(String diqu) { 101 | this.diqu = diqu; 102 | } 103 | /** 104 | * 获取:地区 105 | */ 106 | public String getDiqu() { 107 | return diqu; 108 | } 109 | /** 110 | * 设置:确诊 111 | */ 112 | public void setQuezhen(Integer quezhen) { 113 | this.quezhen = quezhen; 114 | } 115 | /** 116 | * 获取:确诊 117 | */ 118 | public Integer getQuezhen() { 119 | return quezhen; 120 | } 121 | /** 122 | * 设置:治愈 123 | */ 124 | public void setZhiyu(Integer zhiyu) { 125 | this.zhiyu = zhiyu; 126 | } 127 | /** 128 | * 获取:治愈 129 | */ 130 | public Integer getZhiyu() { 131 | return zhiyu; 132 | } 133 | /** 134 | * 设置:死亡 135 | */ 136 | public void setSiwang(Integer siwang) { 137 | this.siwang = siwang; 138 | } 139 | /** 140 | * 获取:死亡 141 | */ 142 | public Integer getSiwang() { 143 | return siwang; 144 | } 145 | 146 | } 147 | -------------------------------------------------------------------------------- /src/main/java/com/entity/NewsEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 疫情资讯 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-21 11:55:18 30 | */ 31 | @TableName("news") 32 | public class NewsEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public NewsEntity() { 37 | 38 | } 39 | 40 | public NewsEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 标题 56 | */ 57 | 58 | private String title; 59 | 60 | /** 61 | * 简介 62 | */ 63 | 64 | private String introduction; 65 | 66 | /** 67 | * 图片 68 | */ 69 | 70 | private String picture; 71 | 72 | /** 73 | * 内容 74 | */ 75 | 76 | private String content; 77 | 78 | 79 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 80 | @DateTimeFormat 81 | private Date addtime; 82 | 83 | public Date getAddtime() { 84 | return addtime; 85 | } 86 | public void setAddtime(Date addtime) { 87 | this.addtime = addtime; 88 | } 89 | 90 | public Long getId() { 91 | return id; 92 | } 93 | 94 | public void setId(Long id) { 95 | this.id = id; 96 | } 97 | /** 98 | * 设置:标题 99 | */ 100 | public void setTitle(String title) { 101 | this.title = title; 102 | } 103 | /** 104 | * 获取:标题 105 | */ 106 | public String getTitle() { 107 | return title; 108 | } 109 | /** 110 | * 设置:简介 111 | */ 112 | public void setIntroduction(String introduction) { 113 | this.introduction = introduction; 114 | } 115 | /** 116 | * 获取:简介 117 | */ 118 | public String getIntroduction() { 119 | return introduction; 120 | } 121 | /** 122 | * 设置:图片 123 | */ 124 | public void setPicture(String picture) { 125 | this.picture = picture; 126 | } 127 | /** 128 | * 获取:图片 129 | */ 130 | public String getPicture() { 131 | return picture; 132 | } 133 | /** 134 | * 设置:内容 135 | */ 136 | public void setContent(String content) { 137 | this.content = content; 138 | } 139 | /** 140 | * 获取:内容 141 | */ 142 | public String getContent() { 143 | return content; 144 | } 145 | 146 | } 147 | -------------------------------------------------------------------------------- /src/main/java/com/entity/QgsssjEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import com.baomidou.mybatisplus.annotations.TableId; 4 | import com.baomidou.mybatisplus.annotations.TableName; 5 | import javax.validation.constraints.NotBlank; 6 | import javax.validation.constraints.NotEmpty; 7 | import javax.validation.constraints.NotNull; 8 | 9 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 10 | import java.lang.reflect.InvocationTargetException; 11 | 12 | import java.io.Serializable; 13 | import java.util.Date; 14 | import java.util.List; 15 | 16 | import org.springframework.format.annotation.DateTimeFormat; 17 | import com.fasterxml.jackson.annotation.JsonFormat; 18 | import org.apache.commons.beanutils.BeanUtils; 19 | import com.baomidou.mybatisplus.annotations.TableField; 20 | import com.baomidou.mybatisplus.enums.FieldFill; 21 | import com.baomidou.mybatisplus.enums.IdType; 22 | 23 | 24 | /** 25 | * 全国实时数据 26 | * 数据库通用操作实体类(普通增删改查) 27 | * @author 28 | * @email 29 | * @date 2023-02-21 11:55:18 30 | */ 31 | @TableName("qgsssj") 32 | public class QgsssjEntity implements Serializable { 33 | private static final long serialVersionUID = 1L; 34 | 35 | 36 | public QgsssjEntity() { 37 | 38 | } 39 | 40 | public QgsssjEntity(T t) { 41 | try { 42 | BeanUtils.copyProperties(this, t); 43 | } catch (IllegalAccessException | InvocationTargetException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | } 48 | 49 | /** 50 | * 主键id 51 | */ 52 | @TableId 53 | private Long id; 54 | /** 55 | * 全国确诊 56 | */ 57 | 58 | private String qgqz; 59 | 60 | /** 61 | * 境外输入 62 | */ 63 | 64 | private String jwsr; 65 | 66 | /** 67 | * 治愈人数 68 | */ 69 | 70 | private String zyrs; 71 | 72 | /** 73 | * 死亡人数 74 | */ 75 | 76 | private String swrs; 77 | 78 | 79 | @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") 80 | @DateTimeFormat 81 | private Date addtime; 82 | 83 | public Date getAddtime() { 84 | return addtime; 85 | } 86 | public void setAddtime(Date addtime) { 87 | this.addtime = addtime; 88 | } 89 | 90 | public Long getId() { 91 | return id; 92 | } 93 | 94 | public void setId(Long id) { 95 | this.id = id; 96 | } 97 | /** 98 | * 设置:全国确诊 99 | */ 100 | public void setQgqz(String qgqz) { 101 | this.qgqz = qgqz; 102 | } 103 | /** 104 | * 获取:全国确诊 105 | */ 106 | public String getQgqz() { 107 | return qgqz; 108 | } 109 | /** 110 | * 设置:境外输入 111 | */ 112 | public void setJwsr(String jwsr) { 113 | this.jwsr = jwsr; 114 | } 115 | /** 116 | * 获取:境外输入 117 | */ 118 | public String getJwsr() { 119 | return jwsr; 120 | } 121 | /** 122 | * 设置:治愈人数 123 | */ 124 | public void setZyrs(String zyrs) { 125 | this.zyrs = zyrs; 126 | } 127 | /** 128 | * 获取:治愈人数 129 | */ 130 | public String getZyrs() { 131 | return zyrs; 132 | } 133 | /** 134 | * 设置:死亡人数 135 | */ 136 | public void setSwrs(String swrs) { 137 | this.swrs = swrs; 138 | } 139 | /** 140 | * 获取:死亡人数 141 | */ 142 | public String getSwrs() { 143 | return swrs; 144 | } 145 | 146 | } 147 | -------------------------------------------------------------------------------- /src/main/java/com/entity/TokenEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import java.io.Serializable; 4 | import java.util.Date; 5 | 6 | import com.baomidou.mybatisplus.annotations.TableId; 7 | import com.baomidou.mybatisplus.annotations.TableName; 8 | import com.baomidou.mybatisplus.enums.IdType; 9 | 10 | /** 11 | * token表 12 | */ 13 | @TableName("token") 14 | public class TokenEntity implements Serializable { 15 | private static final long serialVersionUID = 1L; 16 | 17 | @TableId(type = IdType.AUTO) 18 | private Long id; 19 | 20 | /** 21 | * 用户id 22 | */ 23 | private Long userid; 24 | 25 | /** 26 | * 用户名 27 | */ 28 | private String username; 29 | 30 | /** 31 | * 表名 32 | */ 33 | private String tablename; 34 | 35 | /** 36 | * 角色 37 | */ 38 | private String role; 39 | 40 | /** 41 | * token 42 | */ 43 | private String token; 44 | 45 | /** 46 | * 过期时间 47 | */ 48 | private Date expiratedtime; 49 | 50 | /** 51 | * 新增时间 52 | */ 53 | private Date addtime; 54 | 55 | public Long getId() { 56 | return id; 57 | } 58 | 59 | public void setId(Long id) { 60 | this.id = id; 61 | } 62 | 63 | public Long getUserid() { 64 | return userid; 65 | } 66 | 67 | public void setUserid(Long userid) { 68 | this.userid = userid; 69 | } 70 | 71 | public String getRole() { 72 | return role; 73 | } 74 | 75 | public void setRole(String role) { 76 | this.role = role; 77 | } 78 | 79 | public String getToken() { 80 | return token; 81 | } 82 | 83 | public String getTablename() { 84 | return tablename; 85 | } 86 | 87 | public void setTablename(String tablename) { 88 | this.tablename = tablename; 89 | } 90 | 91 | public void setToken(String token) { 92 | this.token = token; 93 | } 94 | 95 | public Date getExpiratedtime() { 96 | return expiratedtime; 97 | } 98 | 99 | public void setExpiratedtime(Date expiratedtime) { 100 | this.expiratedtime = expiratedtime; 101 | } 102 | 103 | public Date getAddtime() { 104 | return addtime; 105 | } 106 | 107 | public void setAddtime(Date addtime) { 108 | this.addtime = addtime; 109 | } 110 | 111 | public String getUsername() { 112 | return username; 113 | } 114 | 115 | public void setUsername(String username) { 116 | this.username = username; 117 | } 118 | 119 | public TokenEntity(Long userid, String username, String tablename,String role, String token, Date expiratedtime) { 120 | super(); 121 | this.userid = userid; 122 | this.username = username; 123 | this.tablename = tablename; 124 | this.role = role; 125 | this.token = token; 126 | this.expiratedtime = expiratedtime; 127 | } 128 | 129 | public TokenEntity() { 130 | } 131 | 132 | } 133 | -------------------------------------------------------------------------------- /src/main/java/com/entity/UsersEntity.java: -------------------------------------------------------------------------------- 1 | package com.entity; 2 | 3 | import java.io.Serializable; 4 | import java.util.Date; 5 | 6 | import com.baomidou.mybatisplus.annotations.TableId; 7 | import com.baomidou.mybatisplus.annotations.TableName; 8 | import com.baomidou.mybatisplus.enums.IdType; 9 | 10 | /** 11 | * 用户 12 | */ 13 | @TableName("users") 14 | public class UsersEntity implements Serializable { 15 | private static final long serialVersionUID = 1L; 16 | 17 | @TableId(type = IdType.AUTO) 18 | private Long id; 19 | 20 | /** 21 | * 用户账号 22 | */ 23 | private String username; 24 | 25 | /** 26 | * 密码 27 | */ 28 | private String password; 29 | 30 | /** 31 | * 用户类型 32 | */ 33 | private String role; 34 | 35 | private Date addtime; 36 | 37 | public String getUsername() { 38 | return username; 39 | } 40 | 41 | public void setUsername(String username) { 42 | this.username = username; 43 | } 44 | 45 | public String getPassword() { 46 | return password; 47 | } 48 | 49 | public void setPassword(String password) { 50 | this.password = password; 51 | } 52 | 53 | public String getRole() { 54 | return role; 55 | } 56 | 57 | public void setRole(String role) { 58 | this.role = role; 59 | } 60 | 61 | public Date getAddtime() { 62 | return addtime; 63 | } 64 | 65 | public void setAddtime(Date addtime) { 66 | this.addtime = addtime; 67 | } 68 | 69 | public Long getId() { 70 | return id; 71 | } 72 | 73 | public void setId(Long id) { 74 | this.id = id; 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/AboutusModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.AboutusEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 关于我们 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class AboutusModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 副标题 28 | */ 29 | 30 | private String subtitle; 31 | 32 | /** 33 | * 内容 34 | */ 35 | 36 | private String content; 37 | 38 | /** 39 | * 图片1 40 | */ 41 | 42 | private String picture1; 43 | 44 | /** 45 | * 图片2 46 | */ 47 | 48 | private String picture2; 49 | 50 | /** 51 | * 图片3 52 | */ 53 | 54 | private String picture3; 55 | 56 | 57 | /** 58 | * 设置:副标题 59 | */ 60 | 61 | public void setSubtitle(String subtitle) { 62 | this.subtitle = subtitle; 63 | } 64 | 65 | /** 66 | * 获取:副标题 67 | */ 68 | public String getSubtitle() { 69 | return subtitle; 70 | } 71 | 72 | 73 | /** 74 | * 设置:内容 75 | */ 76 | 77 | public void setContent(String content) { 78 | this.content = content; 79 | } 80 | 81 | /** 82 | * 获取:内容 83 | */ 84 | public String getContent() { 85 | return content; 86 | } 87 | 88 | 89 | /** 90 | * 设置:图片1 91 | */ 92 | 93 | public void setPicture1(String picture1) { 94 | this.picture1 = picture1; 95 | } 96 | 97 | /** 98 | * 获取:图片1 99 | */ 100 | public String getPicture1() { 101 | return picture1; 102 | } 103 | 104 | 105 | /** 106 | * 设置:图片2 107 | */ 108 | 109 | public void setPicture2(String picture2) { 110 | this.picture2 = picture2; 111 | } 112 | 113 | /** 114 | * 获取:图片2 115 | */ 116 | public String getPicture2() { 117 | return picture2; 118 | } 119 | 120 | 121 | /** 122 | * 设置:图片3 123 | */ 124 | 125 | public void setPicture3(String picture3) { 126 | this.picture3 = picture3; 127 | } 128 | 129 | /** 130 | * 获取:图片3 131 | */ 132 | public String getPicture3() { 133 | return picture3; 134 | } 135 | 136 | } 137 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/FangyirenyuanModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.FangyirenyuanEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 防疫人员 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class FangyirenyuanModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 密码 28 | */ 29 | 30 | private String mima; 31 | 32 | /** 33 | * 防疫人员 34 | */ 35 | 36 | private String fangyirenyuan; 37 | 38 | /** 39 | * 性别 40 | */ 41 | 42 | private String xingbie; 43 | 44 | /** 45 | * 年龄 46 | */ 47 | 48 | private String nianling; 49 | 50 | /** 51 | * 头像 52 | */ 53 | 54 | private String touxiang; 55 | 56 | /** 57 | * 联系方式 58 | */ 59 | 60 | private String lianxifangshi; 61 | 62 | 63 | /** 64 | * 设置:密码 65 | */ 66 | 67 | public void setMima(String mima) { 68 | this.mima = mima; 69 | } 70 | 71 | /** 72 | * 获取:密码 73 | */ 74 | public String getMima() { 75 | return mima; 76 | } 77 | 78 | 79 | /** 80 | * 设置:防疫人员 81 | */ 82 | 83 | public void setFangyirenyuan(String fangyirenyuan) { 84 | this.fangyirenyuan = fangyirenyuan; 85 | } 86 | 87 | /** 88 | * 获取:防疫人员 89 | */ 90 | public String getFangyirenyuan() { 91 | return fangyirenyuan; 92 | } 93 | 94 | 95 | /** 96 | * 设置:性别 97 | */ 98 | 99 | public void setXingbie(String xingbie) { 100 | this.xingbie = xingbie; 101 | } 102 | 103 | /** 104 | * 获取:性别 105 | */ 106 | public String getXingbie() { 107 | return xingbie; 108 | } 109 | 110 | 111 | /** 112 | * 设置:年龄 113 | */ 114 | 115 | public void setNianling(String nianling) { 116 | this.nianling = nianling; 117 | } 118 | 119 | /** 120 | * 获取:年龄 121 | */ 122 | public String getNianling() { 123 | return nianling; 124 | } 125 | 126 | 127 | /** 128 | * 设置:头像 129 | */ 130 | 131 | public void setTouxiang(String touxiang) { 132 | this.touxiang = touxiang; 133 | } 134 | 135 | /** 136 | * 获取:头像 137 | */ 138 | public String getTouxiang() { 139 | return touxiang; 140 | } 141 | 142 | 143 | /** 144 | * 设置:联系方式 145 | */ 146 | 147 | public void setLianxifangshi(String lianxifangshi) { 148 | this.lianxifangshi = lianxifangshi; 149 | } 150 | 151 | /** 152 | * 获取:联系方式 153 | */ 154 | public String getLianxifangshi() { 155 | return lianxifangshi; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/GnssdtModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.GnssdtEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 国内实时动态 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class GnssdtModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 确诊 28 | */ 29 | 30 | private Integer quezhen; 31 | 32 | /** 33 | * 治愈 34 | */ 35 | 36 | private Integer zhiyu; 37 | 38 | /** 39 | * 死亡 40 | */ 41 | 42 | private Integer siwang; 43 | 44 | 45 | /** 46 | * 设置:确诊 47 | */ 48 | 49 | public void setQuezhen(Integer quezhen) { 50 | this.quezhen = quezhen; 51 | } 52 | 53 | /** 54 | * 获取:确诊 55 | */ 56 | public Integer getQuezhen() { 57 | return quezhen; 58 | } 59 | 60 | 61 | /** 62 | * 设置:治愈 63 | */ 64 | 65 | public void setZhiyu(Integer zhiyu) { 66 | this.zhiyu = zhiyu; 67 | } 68 | 69 | /** 70 | * 获取:治愈 71 | */ 72 | public Integer getZhiyu() { 73 | return zhiyu; 74 | } 75 | 76 | 77 | /** 78 | * 设置:死亡 79 | */ 80 | 81 | public void setSiwang(Integer siwang) { 82 | this.siwang = siwang; 83 | } 84 | 85 | /** 86 | * 获取:死亡 87 | */ 88 | public Integer getSiwang() { 89 | return siwang; 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/HesuanjiancedianModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.HesuanjiancedianEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 核酸检测点 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class HesuanjiancedianModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 检测点位置 28 | */ 29 | 30 | private String jiancedianweizhi; 31 | 32 | /** 33 | * 可预约时段 34 | */ 35 | 36 | private String keyuyueshiduan; 37 | 38 | /** 39 | * 封面图片 40 | */ 41 | 42 | private String fengmiantupian; 43 | 44 | /** 45 | * 检测费用 46 | */ 47 | 48 | private Integer jiancefeiyong; 49 | 50 | /** 51 | * 负责人 52 | */ 53 | 54 | private String fuzeren; 55 | 56 | /** 57 | * 联系方式 58 | */ 59 | 60 | private String lianxifangshi; 61 | 62 | /** 63 | * 说明 64 | */ 65 | 66 | private String shuoming; 67 | 68 | 69 | /** 70 | * 设置:检测点位置 71 | */ 72 | 73 | public void setJiancedianweizhi(String jiancedianweizhi) { 74 | this.jiancedianweizhi = jiancedianweizhi; 75 | } 76 | 77 | /** 78 | * 获取:检测点位置 79 | */ 80 | public String getJiancedianweizhi() { 81 | return jiancedianweizhi; 82 | } 83 | 84 | 85 | /** 86 | * 设置:可预约时段 87 | */ 88 | 89 | public void setKeyuyueshiduan(String keyuyueshiduan) { 90 | this.keyuyueshiduan = keyuyueshiduan; 91 | } 92 | 93 | /** 94 | * 获取:可预约时段 95 | */ 96 | public String getKeyuyueshiduan() { 97 | return keyuyueshiduan; 98 | } 99 | 100 | 101 | /** 102 | * 设置:封面图片 103 | */ 104 | 105 | public void setFengmiantupian(String fengmiantupian) { 106 | this.fengmiantupian = fengmiantupian; 107 | } 108 | 109 | /** 110 | * 获取:封面图片 111 | */ 112 | public String getFengmiantupian() { 113 | return fengmiantupian; 114 | } 115 | 116 | 117 | /** 118 | * 设置:检测费用 119 | */ 120 | 121 | public void setJiancefeiyong(Integer jiancefeiyong) { 122 | this.jiancefeiyong = jiancefeiyong; 123 | } 124 | 125 | /** 126 | * 获取:检测费用 127 | */ 128 | public Integer getJiancefeiyong() { 129 | return jiancefeiyong; 130 | } 131 | 132 | 133 | /** 134 | * 设置:负责人 135 | */ 136 | 137 | public void setFuzeren(String fuzeren) { 138 | this.fuzeren = fuzeren; 139 | } 140 | 141 | /** 142 | * 获取:负责人 143 | */ 144 | public String getFuzeren() { 145 | return fuzeren; 146 | } 147 | 148 | 149 | /** 150 | * 设置:联系方式 151 | */ 152 | 153 | public void setLianxifangshi(String lianxifangshi) { 154 | this.lianxifangshi = lianxifangshi; 155 | } 156 | 157 | /** 158 | * 获取:联系方式 159 | */ 160 | public String getLianxifangshi() { 161 | return lianxifangshi; 162 | } 163 | 164 | 165 | /** 166 | * 设置:说明 167 | */ 168 | 169 | public void setShuoming(String shuoming) { 170 | this.shuoming = shuoming; 171 | } 172 | 173 | /** 174 | * 获取:说明 175 | */ 176 | public String getShuoming() { 177 | return shuoming; 178 | } 179 | 180 | } 181 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/MessagesModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.MessagesEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 系统留言 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class MessagesModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 用户名 28 | */ 29 | 30 | private String username; 31 | 32 | /** 33 | * 头像 34 | */ 35 | 36 | private String avatarurl; 37 | 38 | /** 39 | * 留言内容 40 | */ 41 | 42 | private String content; 43 | 44 | /** 45 | * 留言图片 46 | */ 47 | 48 | private String cpicture; 49 | 50 | /** 51 | * 回复内容 52 | */ 53 | 54 | private String reply; 55 | 56 | /** 57 | * 回复图片 58 | */ 59 | 60 | private String rpicture; 61 | 62 | 63 | /** 64 | * 设置:用户名 65 | */ 66 | 67 | public void setUsername(String username) { 68 | this.username = username; 69 | } 70 | 71 | /** 72 | * 获取:用户名 73 | */ 74 | public String getUsername() { 75 | return username; 76 | } 77 | 78 | 79 | /** 80 | * 设置:头像 81 | */ 82 | 83 | public void setAvatarurl(String avatarurl) { 84 | this.avatarurl = avatarurl; 85 | } 86 | 87 | /** 88 | * 获取:头像 89 | */ 90 | public String getAvatarurl() { 91 | return avatarurl; 92 | } 93 | 94 | 95 | /** 96 | * 设置:留言内容 97 | */ 98 | 99 | public void setContent(String content) { 100 | this.content = content; 101 | } 102 | 103 | /** 104 | * 获取:留言内容 105 | */ 106 | public String getContent() { 107 | return content; 108 | } 109 | 110 | 111 | /** 112 | * 设置:留言图片 113 | */ 114 | 115 | public void setCpicture(String cpicture) { 116 | this.cpicture = cpicture; 117 | } 118 | 119 | /** 120 | * 获取:留言图片 121 | */ 122 | public String getCpicture() { 123 | return cpicture; 124 | } 125 | 126 | 127 | /** 128 | * 设置:回复内容 129 | */ 130 | 131 | public void setReply(String reply) { 132 | this.reply = reply; 133 | } 134 | 135 | /** 136 | * 获取:回复内容 137 | */ 138 | public String getReply() { 139 | return reply; 140 | } 141 | 142 | 143 | /** 144 | * 设置:回复图片 145 | */ 146 | 147 | public void setRpicture(String rpicture) { 148 | this.rpicture = rpicture; 149 | } 150 | 151 | /** 152 | * 获取:回复图片 153 | */ 154 | public String getRpicture() { 155 | return rpicture; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/NewsModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.NewsEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 疫情资讯 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class NewsModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 简介 28 | */ 29 | 30 | private String introduction; 31 | 32 | /** 33 | * 图片 34 | */ 35 | 36 | private String picture; 37 | 38 | /** 39 | * 内容 40 | */ 41 | 42 | private String content; 43 | 44 | 45 | /** 46 | * 设置:简介 47 | */ 48 | 49 | public void setIntroduction(String introduction) { 50 | this.introduction = introduction; 51 | } 52 | 53 | /** 54 | * 获取:简介 55 | */ 56 | public String getIntroduction() { 57 | return introduction; 58 | } 59 | 60 | 61 | /** 62 | * 设置:图片 63 | */ 64 | 65 | public void setPicture(String picture) { 66 | this.picture = picture; 67 | } 68 | 69 | /** 70 | * 获取:图片 71 | */ 72 | public String getPicture() { 73 | return picture; 74 | } 75 | 76 | 77 | /** 78 | * 设置:内容 79 | */ 80 | 81 | public void setContent(String content) { 82 | this.content = content; 83 | } 84 | 85 | /** 86 | * 获取:内容 87 | */ 88 | public String getContent() { 89 | return content; 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/QgsssjModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.QgsssjEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 全国实时数据 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class QgsssjModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 境外输入 28 | */ 29 | 30 | private String jwsr; 31 | 32 | /** 33 | * 治愈人数 34 | */ 35 | 36 | private String zyrs; 37 | 38 | /** 39 | * 死亡人数 40 | */ 41 | 42 | private String swrs; 43 | 44 | 45 | /** 46 | * 设置:境外输入 47 | */ 48 | 49 | public void setJwsr(String jwsr) { 50 | this.jwsr = jwsr; 51 | } 52 | 53 | /** 54 | * 获取:境外输入 55 | */ 56 | public String getJwsr() { 57 | return jwsr; 58 | } 59 | 60 | 61 | /** 62 | * 设置:治愈人数 63 | */ 64 | 65 | public void setZyrs(String zyrs) { 66 | this.zyrs = zyrs; 67 | } 68 | 69 | /** 70 | * 获取:治愈人数 71 | */ 72 | public String getZyrs() { 73 | return zyrs; 74 | } 75 | 76 | 77 | /** 78 | * 设置:死亡人数 79 | */ 80 | 81 | public void setSwrs(String swrs) { 82 | this.swrs = swrs; 83 | } 84 | 85 | /** 86 | * 获取:死亡人数 87 | */ 88 | public String getSwrs() { 89 | return swrs; 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/SystemintroModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.SystemintroEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 关于我们 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class SystemintroModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 副标题 28 | */ 29 | 30 | private String subtitle; 31 | 32 | /** 33 | * 内容 34 | */ 35 | 36 | private String content; 37 | 38 | /** 39 | * 图片1 40 | */ 41 | 42 | private String picture1; 43 | 44 | /** 45 | * 图片2 46 | */ 47 | 48 | private String picture2; 49 | 50 | /** 51 | * 图片3 52 | */ 53 | 54 | private String picture3; 55 | 56 | 57 | /** 58 | * 设置:副标题 59 | */ 60 | 61 | public void setSubtitle(String subtitle) { 62 | this.subtitle = subtitle; 63 | } 64 | 65 | /** 66 | * 获取:副标题 67 | */ 68 | public String getSubtitle() { 69 | return subtitle; 70 | } 71 | 72 | 73 | /** 74 | * 设置:内容 75 | */ 76 | 77 | public void setContent(String content) { 78 | this.content = content; 79 | } 80 | 81 | /** 82 | * 获取:内容 83 | */ 84 | public String getContent() { 85 | return content; 86 | } 87 | 88 | 89 | /** 90 | * 设置:图片1 91 | */ 92 | 93 | public void setPicture1(String picture1) { 94 | this.picture1 = picture1; 95 | } 96 | 97 | /** 98 | * 获取:图片1 99 | */ 100 | public String getPicture1() { 101 | return picture1; 102 | } 103 | 104 | 105 | /** 106 | * 设置:图片2 107 | */ 108 | 109 | public void setPicture2(String picture2) { 110 | this.picture2 = picture2; 111 | } 112 | 113 | /** 114 | * 获取:图片2 115 | */ 116 | public String getPicture2() { 117 | return picture2; 118 | } 119 | 120 | 121 | /** 122 | * 设置:图片3 123 | */ 124 | 125 | public void setPicture3(String picture3) { 126 | this.picture3 = picture3; 127 | } 128 | 129 | /** 130 | * 获取:图片3 131 | */ 132 | public String getPicture3() { 133 | return picture3; 134 | } 135 | 136 | } 137 | -------------------------------------------------------------------------------- /src/main/java/com/entity/model/YonghuModel.java: -------------------------------------------------------------------------------- 1 | package com.entity.model; 2 | 3 | import com.entity.YonghuEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 用户 15 | * 接收传参的实体类 16 | *(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 17 | * 取自ModelAndView 的model名称 18 | * @author 19 | * @email 20 | * @date 2023-02-21 11:55:18 21 | */ 22 | public class YonghuModel implements Serializable { 23 | private static final long serialVersionUID = 1L; 24 | 25 | 26 | /** 27 | * 密码 28 | */ 29 | 30 | private String mima; 31 | 32 | /** 33 | * 用户姓名 34 | */ 35 | 36 | private String yonghuxingming; 37 | 38 | /** 39 | * 性别 40 | */ 41 | 42 | private String xingbie; 43 | 44 | /** 45 | * 年龄 46 | */ 47 | 48 | private String nianling; 49 | 50 | /** 51 | * 头像 52 | */ 53 | 54 | private String touxiang; 55 | 56 | /** 57 | * 用户手机 58 | */ 59 | 60 | private String yonghushouji; 61 | 62 | 63 | /** 64 | * 设置:密码 65 | */ 66 | 67 | public void setMima(String mima) { 68 | this.mima = mima; 69 | } 70 | 71 | /** 72 | * 获取:密码 73 | */ 74 | public String getMima() { 75 | return mima; 76 | } 77 | 78 | 79 | /** 80 | * 设置:用户姓名 81 | */ 82 | 83 | public void setYonghuxingming(String yonghuxingming) { 84 | this.yonghuxingming = yonghuxingming; 85 | } 86 | 87 | /** 88 | * 获取:用户姓名 89 | */ 90 | public String getYonghuxingming() { 91 | return yonghuxingming; 92 | } 93 | 94 | 95 | /** 96 | * 设置:性别 97 | */ 98 | 99 | public void setXingbie(String xingbie) { 100 | this.xingbie = xingbie; 101 | } 102 | 103 | /** 104 | * 获取:性别 105 | */ 106 | public String getXingbie() { 107 | return xingbie; 108 | } 109 | 110 | 111 | /** 112 | * 设置:年龄 113 | */ 114 | 115 | public void setNianling(String nianling) { 116 | this.nianling = nianling; 117 | } 118 | 119 | /** 120 | * 获取:年龄 121 | */ 122 | public String getNianling() { 123 | return nianling; 124 | } 125 | 126 | 127 | /** 128 | * 设置:头像 129 | */ 130 | 131 | public void setTouxiang(String touxiang) { 132 | this.touxiang = touxiang; 133 | } 134 | 135 | /** 136 | * 获取:头像 137 | */ 138 | public String getTouxiang() { 139 | return touxiang; 140 | } 141 | 142 | 143 | /** 144 | * 设置:用户手机 145 | */ 146 | 147 | public void setYonghushouji(String yonghushouji) { 148 | this.yonghushouji = yonghushouji; 149 | } 150 | 151 | /** 152 | * 获取:用户手机 153 | */ 154 | public String getYonghushouji() { 155 | return yonghushouji; 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/AboutusView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.AboutusEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 关于我们 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("aboutus") 21 | public class AboutusView extends AboutusEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public AboutusView(){ 25 | } 26 | 27 | public AboutusView(AboutusEntity aboutusEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, aboutusEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/FangyirenyuanView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.FangyirenyuanEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 防疫人员 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("fangyirenyuan") 21 | public class FangyirenyuanView extends FangyirenyuanEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public FangyirenyuanView(){ 25 | } 26 | 27 | public FangyirenyuanView(FangyirenyuanEntity fangyirenyuanEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, fangyirenyuanEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/GnssdtView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.GnssdtEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 国内实时动态 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("gnssdt") 21 | public class GnssdtView extends GnssdtEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public GnssdtView(){ 25 | } 26 | 27 | public GnssdtView(GnssdtEntity gnssdtEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, gnssdtEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/HesuanjiancedianView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.HesuanjiancedianEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 核酸检测点 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("hesuanjiancedian") 21 | public class HesuanjiancedianView extends HesuanjiancedianEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public HesuanjiancedianView(){ 25 | } 26 | 27 | public HesuanjiancedianView(HesuanjiancedianEntity hesuanjiancedianEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, hesuanjiancedianEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/HesuanjianceyuyueView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.HesuanjianceyuyueEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 核酸检测预约 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("hesuanjianceyuyue") 21 | public class HesuanjianceyuyueView extends HesuanjianceyuyueEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public HesuanjianceyuyueView(){ 25 | } 26 | 27 | public HesuanjianceyuyueView(HesuanjianceyuyueEntity hesuanjianceyuyueEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, hesuanjianceyuyueEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/HesuanjieguoView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.HesuanjieguoEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 核酸结果 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("hesuanjieguo") 21 | public class HesuanjieguoView extends HesuanjieguoEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public HesuanjieguoView(){ 25 | } 26 | 27 | public HesuanjieguoView(HesuanjieguoEntity hesuanjieguoEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, hesuanjieguoEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/MessagesView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.MessagesEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 系统留言 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("messages") 21 | public class MessagesView extends MessagesEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public MessagesView(){ 25 | } 26 | 27 | public MessagesView(MessagesEntity messagesEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, messagesEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/NewsView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.NewsEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 疫情资讯 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("news") 21 | public class NewsView extends NewsEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public NewsView(){ 25 | } 26 | 27 | public NewsView(NewsEntity newsEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, newsEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/QgsssjView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.QgsssjEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 全国实时数据 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("qgsssj") 21 | public class QgsssjView extends QgsssjEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public QgsssjView(){ 25 | } 26 | 27 | public QgsssjView(QgsssjEntity qgsssjEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, qgsssjEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/SystemintroView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.SystemintroEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 关于我们 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("systemintro") 21 | public class SystemintroView extends SystemintroEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public SystemintroView(){ 25 | } 26 | 27 | public SystemintroView(SystemintroEntity systemintroEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, systemintroEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/view/YonghuView.java: -------------------------------------------------------------------------------- 1 | package com.entity.view; 2 | 3 | import com.entity.YonghuEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import org.apache.commons.beanutils.BeanUtils; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import java.io.Serializable; 10 | 11 | 12 | /** 13 | * 用户 14 | * 后端返回视图实体辅助类 15 | * (通常后端关联的表或者自定义的字段需要返回使用) 16 | * @author 17 | * @email 18 | * @date 2023-02-21 11:55:18 19 | */ 20 | @TableName("yonghu") 21 | public class YonghuView extends YonghuEntity implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | public YonghuView(){ 25 | } 26 | 27 | public YonghuView(YonghuEntity yonghuEntity){ 28 | try { 29 | BeanUtils.copyProperties(this, yonghuEntity); 30 | } catch (IllegalAccessException | InvocationTargetException e) { 31 | // TODO Auto-generated catch block 32 | e.printStackTrace(); 33 | } 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/AboutusVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.AboutusEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 关于我们 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class AboutusVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 副标题 27 | */ 28 | 29 | private String subtitle; 30 | 31 | /** 32 | * 内容 33 | */ 34 | 35 | private String content; 36 | 37 | /** 38 | * 图片1 39 | */ 40 | 41 | private String picture1; 42 | 43 | /** 44 | * 图片2 45 | */ 46 | 47 | private String picture2; 48 | 49 | /** 50 | * 图片3 51 | */ 52 | 53 | private String picture3; 54 | 55 | 56 | /** 57 | * 设置:副标题 58 | */ 59 | 60 | public void setSubtitle(String subtitle) { 61 | this.subtitle = subtitle; 62 | } 63 | 64 | /** 65 | * 获取:副标题 66 | */ 67 | public String getSubtitle() { 68 | return subtitle; 69 | } 70 | 71 | 72 | /** 73 | * 设置:内容 74 | */ 75 | 76 | public void setContent(String content) { 77 | this.content = content; 78 | } 79 | 80 | /** 81 | * 获取:内容 82 | */ 83 | public String getContent() { 84 | return content; 85 | } 86 | 87 | 88 | /** 89 | * 设置:图片1 90 | */ 91 | 92 | public void setPicture1(String picture1) { 93 | this.picture1 = picture1; 94 | } 95 | 96 | /** 97 | * 获取:图片1 98 | */ 99 | public String getPicture1() { 100 | return picture1; 101 | } 102 | 103 | 104 | /** 105 | * 设置:图片2 106 | */ 107 | 108 | public void setPicture2(String picture2) { 109 | this.picture2 = picture2; 110 | } 111 | 112 | /** 113 | * 获取:图片2 114 | */ 115 | public String getPicture2() { 116 | return picture2; 117 | } 118 | 119 | 120 | /** 121 | * 设置:图片3 122 | */ 123 | 124 | public void setPicture3(String picture3) { 125 | this.picture3 = picture3; 126 | } 127 | 128 | /** 129 | * 获取:图片3 130 | */ 131 | public String getPicture3() { 132 | return picture3; 133 | } 134 | 135 | } 136 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/FangyirenyuanVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.FangyirenyuanEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 防疫人员 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class FangyirenyuanVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 密码 27 | */ 28 | 29 | private String mima; 30 | 31 | /** 32 | * 防疫人员 33 | */ 34 | 35 | private String fangyirenyuan; 36 | 37 | /** 38 | * 性别 39 | */ 40 | 41 | private String xingbie; 42 | 43 | /** 44 | * 年龄 45 | */ 46 | 47 | private String nianling; 48 | 49 | /** 50 | * 头像 51 | */ 52 | 53 | private String touxiang; 54 | 55 | /** 56 | * 联系方式 57 | */ 58 | 59 | private String lianxifangshi; 60 | 61 | 62 | /** 63 | * 设置:密码 64 | */ 65 | 66 | public void setMima(String mima) { 67 | this.mima = mima; 68 | } 69 | 70 | /** 71 | * 获取:密码 72 | */ 73 | public String getMima() { 74 | return mima; 75 | } 76 | 77 | 78 | /** 79 | * 设置:防疫人员 80 | */ 81 | 82 | public void setFangyirenyuan(String fangyirenyuan) { 83 | this.fangyirenyuan = fangyirenyuan; 84 | } 85 | 86 | /** 87 | * 获取:防疫人员 88 | */ 89 | public String getFangyirenyuan() { 90 | return fangyirenyuan; 91 | } 92 | 93 | 94 | /** 95 | * 设置:性别 96 | */ 97 | 98 | public void setXingbie(String xingbie) { 99 | this.xingbie = xingbie; 100 | } 101 | 102 | /** 103 | * 获取:性别 104 | */ 105 | public String getXingbie() { 106 | return xingbie; 107 | } 108 | 109 | 110 | /** 111 | * 设置:年龄 112 | */ 113 | 114 | public void setNianling(String nianling) { 115 | this.nianling = nianling; 116 | } 117 | 118 | /** 119 | * 获取:年龄 120 | */ 121 | public String getNianling() { 122 | return nianling; 123 | } 124 | 125 | 126 | /** 127 | * 设置:头像 128 | */ 129 | 130 | public void setTouxiang(String touxiang) { 131 | this.touxiang = touxiang; 132 | } 133 | 134 | /** 135 | * 获取:头像 136 | */ 137 | public String getTouxiang() { 138 | return touxiang; 139 | } 140 | 141 | 142 | /** 143 | * 设置:联系方式 144 | */ 145 | 146 | public void setLianxifangshi(String lianxifangshi) { 147 | this.lianxifangshi = lianxifangshi; 148 | } 149 | 150 | /** 151 | * 获取:联系方式 152 | */ 153 | public String getLianxifangshi() { 154 | return lianxifangshi; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/GnssdtVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.GnssdtEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 国内实时动态 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class GnssdtVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 确诊 27 | */ 28 | 29 | private Integer quezhen; 30 | 31 | /** 32 | * 治愈 33 | */ 34 | 35 | private Integer zhiyu; 36 | 37 | /** 38 | * 死亡 39 | */ 40 | 41 | private Integer siwang; 42 | 43 | 44 | /** 45 | * 设置:确诊 46 | */ 47 | 48 | public void setQuezhen(Integer quezhen) { 49 | this.quezhen = quezhen; 50 | } 51 | 52 | /** 53 | * 获取:确诊 54 | */ 55 | public Integer getQuezhen() { 56 | return quezhen; 57 | } 58 | 59 | 60 | /** 61 | * 设置:治愈 62 | */ 63 | 64 | public void setZhiyu(Integer zhiyu) { 65 | this.zhiyu = zhiyu; 66 | } 67 | 68 | /** 69 | * 获取:治愈 70 | */ 71 | public Integer getZhiyu() { 72 | return zhiyu; 73 | } 74 | 75 | 76 | /** 77 | * 设置:死亡 78 | */ 79 | 80 | public void setSiwang(Integer siwang) { 81 | this.siwang = siwang; 82 | } 83 | 84 | /** 85 | * 获取:死亡 86 | */ 87 | public Integer getSiwang() { 88 | return siwang; 89 | } 90 | 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/HesuanjiancedianVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.HesuanjiancedianEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 核酸检测点 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class HesuanjiancedianVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 检测点位置 27 | */ 28 | 29 | private String jiancedianweizhi; 30 | 31 | /** 32 | * 可预约时段 33 | */ 34 | 35 | private String keyuyueshiduan; 36 | 37 | /** 38 | * 封面图片 39 | */ 40 | 41 | private String fengmiantupian; 42 | 43 | /** 44 | * 检测费用 45 | */ 46 | 47 | private Integer jiancefeiyong; 48 | 49 | /** 50 | * 负责人 51 | */ 52 | 53 | private String fuzeren; 54 | 55 | /** 56 | * 联系方式 57 | */ 58 | 59 | private String lianxifangshi; 60 | 61 | /** 62 | * 说明 63 | */ 64 | 65 | private String shuoming; 66 | 67 | 68 | /** 69 | * 设置:检测点位置 70 | */ 71 | 72 | public void setJiancedianweizhi(String jiancedianweizhi) { 73 | this.jiancedianweizhi = jiancedianweizhi; 74 | } 75 | 76 | /** 77 | * 获取:检测点位置 78 | */ 79 | public String getJiancedianweizhi() { 80 | return jiancedianweizhi; 81 | } 82 | 83 | 84 | /** 85 | * 设置:可预约时段 86 | */ 87 | 88 | public void setKeyuyueshiduan(String keyuyueshiduan) { 89 | this.keyuyueshiduan = keyuyueshiduan; 90 | } 91 | 92 | /** 93 | * 获取:可预约时段 94 | */ 95 | public String getKeyuyueshiduan() { 96 | return keyuyueshiduan; 97 | } 98 | 99 | 100 | /** 101 | * 设置:封面图片 102 | */ 103 | 104 | public void setFengmiantupian(String fengmiantupian) { 105 | this.fengmiantupian = fengmiantupian; 106 | } 107 | 108 | /** 109 | * 获取:封面图片 110 | */ 111 | public String getFengmiantupian() { 112 | return fengmiantupian; 113 | } 114 | 115 | 116 | /** 117 | * 设置:检测费用 118 | */ 119 | 120 | public void setJiancefeiyong(Integer jiancefeiyong) { 121 | this.jiancefeiyong = jiancefeiyong; 122 | } 123 | 124 | /** 125 | * 获取:检测费用 126 | */ 127 | public Integer getJiancefeiyong() { 128 | return jiancefeiyong; 129 | } 130 | 131 | 132 | /** 133 | * 设置:负责人 134 | */ 135 | 136 | public void setFuzeren(String fuzeren) { 137 | this.fuzeren = fuzeren; 138 | } 139 | 140 | /** 141 | * 获取:负责人 142 | */ 143 | public String getFuzeren() { 144 | return fuzeren; 145 | } 146 | 147 | 148 | /** 149 | * 设置:联系方式 150 | */ 151 | 152 | public void setLianxifangshi(String lianxifangshi) { 153 | this.lianxifangshi = lianxifangshi; 154 | } 155 | 156 | /** 157 | * 获取:联系方式 158 | */ 159 | public String getLianxifangshi() { 160 | return lianxifangshi; 161 | } 162 | 163 | 164 | /** 165 | * 设置:说明 166 | */ 167 | 168 | public void setShuoming(String shuoming) { 169 | this.shuoming = shuoming; 170 | } 171 | 172 | /** 173 | * 获取:说明 174 | */ 175 | public String getShuoming() { 176 | return shuoming; 177 | } 178 | 179 | } 180 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/MessagesVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.MessagesEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 系统留言 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class MessagesVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 用户名 27 | */ 28 | 29 | private String username; 30 | 31 | /** 32 | * 头像 33 | */ 34 | 35 | private String avatarurl; 36 | 37 | /** 38 | * 留言内容 39 | */ 40 | 41 | private String content; 42 | 43 | /** 44 | * 留言图片 45 | */ 46 | 47 | private String cpicture; 48 | 49 | /** 50 | * 回复内容 51 | */ 52 | 53 | private String reply; 54 | 55 | /** 56 | * 回复图片 57 | */ 58 | 59 | private String rpicture; 60 | 61 | 62 | /** 63 | * 设置:用户名 64 | */ 65 | 66 | public void setUsername(String username) { 67 | this.username = username; 68 | } 69 | 70 | /** 71 | * 获取:用户名 72 | */ 73 | public String getUsername() { 74 | return username; 75 | } 76 | 77 | 78 | /** 79 | * 设置:头像 80 | */ 81 | 82 | public void setAvatarurl(String avatarurl) { 83 | this.avatarurl = avatarurl; 84 | } 85 | 86 | /** 87 | * 获取:头像 88 | */ 89 | public String getAvatarurl() { 90 | return avatarurl; 91 | } 92 | 93 | 94 | /** 95 | * 设置:留言内容 96 | */ 97 | 98 | public void setContent(String content) { 99 | this.content = content; 100 | } 101 | 102 | /** 103 | * 获取:留言内容 104 | */ 105 | public String getContent() { 106 | return content; 107 | } 108 | 109 | 110 | /** 111 | * 设置:留言图片 112 | */ 113 | 114 | public void setCpicture(String cpicture) { 115 | this.cpicture = cpicture; 116 | } 117 | 118 | /** 119 | * 获取:留言图片 120 | */ 121 | public String getCpicture() { 122 | return cpicture; 123 | } 124 | 125 | 126 | /** 127 | * 设置:回复内容 128 | */ 129 | 130 | public void setReply(String reply) { 131 | this.reply = reply; 132 | } 133 | 134 | /** 135 | * 获取:回复内容 136 | */ 137 | public String getReply() { 138 | return reply; 139 | } 140 | 141 | 142 | /** 143 | * 设置:回复图片 144 | */ 145 | 146 | public void setRpicture(String rpicture) { 147 | this.rpicture = rpicture; 148 | } 149 | 150 | /** 151 | * 获取:回复图片 152 | */ 153 | public String getRpicture() { 154 | return rpicture; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/NewsVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.NewsEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 疫情资讯 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class NewsVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 简介 27 | */ 28 | 29 | private String introduction; 30 | 31 | /** 32 | * 图片 33 | */ 34 | 35 | private String picture; 36 | 37 | /** 38 | * 内容 39 | */ 40 | 41 | private String content; 42 | 43 | 44 | /** 45 | * 设置:简介 46 | */ 47 | 48 | public void setIntroduction(String introduction) { 49 | this.introduction = introduction; 50 | } 51 | 52 | /** 53 | * 获取:简介 54 | */ 55 | public String getIntroduction() { 56 | return introduction; 57 | } 58 | 59 | 60 | /** 61 | * 设置:图片 62 | */ 63 | 64 | public void setPicture(String picture) { 65 | this.picture = picture; 66 | } 67 | 68 | /** 69 | * 获取:图片 70 | */ 71 | public String getPicture() { 72 | return picture; 73 | } 74 | 75 | 76 | /** 77 | * 设置:内容 78 | */ 79 | 80 | public void setContent(String content) { 81 | this.content = content; 82 | } 83 | 84 | /** 85 | * 获取:内容 86 | */ 87 | public String getContent() { 88 | return content; 89 | } 90 | 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/QgsssjVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.QgsssjEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 全国实时数据 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class QgsssjVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 境外输入 27 | */ 28 | 29 | private String jwsr; 30 | 31 | /** 32 | * 治愈人数 33 | */ 34 | 35 | private String zyrs; 36 | 37 | /** 38 | * 死亡人数 39 | */ 40 | 41 | private String swrs; 42 | 43 | 44 | /** 45 | * 设置:境外输入 46 | */ 47 | 48 | public void setJwsr(String jwsr) { 49 | this.jwsr = jwsr; 50 | } 51 | 52 | /** 53 | * 获取:境外输入 54 | */ 55 | public String getJwsr() { 56 | return jwsr; 57 | } 58 | 59 | 60 | /** 61 | * 设置:治愈人数 62 | */ 63 | 64 | public void setZyrs(String zyrs) { 65 | this.zyrs = zyrs; 66 | } 67 | 68 | /** 69 | * 获取:治愈人数 70 | */ 71 | public String getZyrs() { 72 | return zyrs; 73 | } 74 | 75 | 76 | /** 77 | * 设置:死亡人数 78 | */ 79 | 80 | public void setSwrs(String swrs) { 81 | this.swrs = swrs; 82 | } 83 | 84 | /** 85 | * 获取:死亡人数 86 | */ 87 | public String getSwrs() { 88 | return swrs; 89 | } 90 | 91 | } 92 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/SystemintroVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.SystemintroEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 关于我们 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class SystemintroVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 副标题 27 | */ 28 | 29 | private String subtitle; 30 | 31 | /** 32 | * 内容 33 | */ 34 | 35 | private String content; 36 | 37 | /** 38 | * 图片1 39 | */ 40 | 41 | private String picture1; 42 | 43 | /** 44 | * 图片2 45 | */ 46 | 47 | private String picture2; 48 | 49 | /** 50 | * 图片3 51 | */ 52 | 53 | private String picture3; 54 | 55 | 56 | /** 57 | * 设置:副标题 58 | */ 59 | 60 | public void setSubtitle(String subtitle) { 61 | this.subtitle = subtitle; 62 | } 63 | 64 | /** 65 | * 获取:副标题 66 | */ 67 | public String getSubtitle() { 68 | return subtitle; 69 | } 70 | 71 | 72 | /** 73 | * 设置:内容 74 | */ 75 | 76 | public void setContent(String content) { 77 | this.content = content; 78 | } 79 | 80 | /** 81 | * 获取:内容 82 | */ 83 | public String getContent() { 84 | return content; 85 | } 86 | 87 | 88 | /** 89 | * 设置:图片1 90 | */ 91 | 92 | public void setPicture1(String picture1) { 93 | this.picture1 = picture1; 94 | } 95 | 96 | /** 97 | * 获取:图片1 98 | */ 99 | public String getPicture1() { 100 | return picture1; 101 | } 102 | 103 | 104 | /** 105 | * 设置:图片2 106 | */ 107 | 108 | public void setPicture2(String picture2) { 109 | this.picture2 = picture2; 110 | } 111 | 112 | /** 113 | * 获取:图片2 114 | */ 115 | public String getPicture2() { 116 | return picture2; 117 | } 118 | 119 | 120 | /** 121 | * 设置:图片3 122 | */ 123 | 124 | public void setPicture3(String picture3) { 125 | this.picture3 = picture3; 126 | } 127 | 128 | /** 129 | * 获取:图片3 130 | */ 131 | public String getPicture3() { 132 | return picture3; 133 | } 134 | 135 | } 136 | -------------------------------------------------------------------------------- /src/main/java/com/entity/vo/YonghuVO.java: -------------------------------------------------------------------------------- 1 | package com.entity.vo; 2 | 3 | import com.entity.YonghuEntity; 4 | 5 | import com.baomidou.mybatisplus.annotations.TableName; 6 | import java.util.Date; 7 | import org.springframework.format.annotation.DateTimeFormat; 8 | 9 | import com.fasterxml.jackson.annotation.JsonFormat; 10 | import java.io.Serializable; 11 | 12 | 13 | /** 14 | * 用户 15 | * 手机端接口返回实体辅助类 16 | * (主要作用去除一些不必要的字段) 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public class YonghuVO implements Serializable { 22 | private static final long serialVersionUID = 1L; 23 | 24 | 25 | /** 26 | * 密码 27 | */ 28 | 29 | private String mima; 30 | 31 | /** 32 | * 用户姓名 33 | */ 34 | 35 | private String yonghuxingming; 36 | 37 | /** 38 | * 性别 39 | */ 40 | 41 | private String xingbie; 42 | 43 | /** 44 | * 年龄 45 | */ 46 | 47 | private String nianling; 48 | 49 | /** 50 | * 头像 51 | */ 52 | 53 | private String touxiang; 54 | 55 | /** 56 | * 用户手机 57 | */ 58 | 59 | private String yonghushouji; 60 | 61 | 62 | /** 63 | * 设置:密码 64 | */ 65 | 66 | public void setMima(String mima) { 67 | this.mima = mima; 68 | } 69 | 70 | /** 71 | * 获取:密码 72 | */ 73 | public String getMima() { 74 | return mima; 75 | } 76 | 77 | 78 | /** 79 | * 设置:用户姓名 80 | */ 81 | 82 | public void setYonghuxingming(String yonghuxingming) { 83 | this.yonghuxingming = yonghuxingming; 84 | } 85 | 86 | /** 87 | * 获取:用户姓名 88 | */ 89 | public String getYonghuxingming() { 90 | return yonghuxingming; 91 | } 92 | 93 | 94 | /** 95 | * 设置:性别 96 | */ 97 | 98 | public void setXingbie(String xingbie) { 99 | this.xingbie = xingbie; 100 | } 101 | 102 | /** 103 | * 获取:性别 104 | */ 105 | public String getXingbie() { 106 | return xingbie; 107 | } 108 | 109 | 110 | /** 111 | * 设置:年龄 112 | */ 113 | 114 | public void setNianling(String nianling) { 115 | this.nianling = nianling; 116 | } 117 | 118 | /** 119 | * 获取:年龄 120 | */ 121 | public String getNianling() { 122 | return nianling; 123 | } 124 | 125 | 126 | /** 127 | * 设置:头像 128 | */ 129 | 130 | public void setTouxiang(String touxiang) { 131 | this.touxiang = touxiang; 132 | } 133 | 134 | /** 135 | * 获取:头像 136 | */ 137 | public String getTouxiang() { 138 | return touxiang; 139 | } 140 | 141 | 142 | /** 143 | * 设置:用户手机 144 | */ 145 | 146 | public void setYonghushouji(String yonghushouji) { 147 | this.yonghushouji = yonghushouji; 148 | } 149 | 150 | /** 151 | * 获取:用户手机 152 | */ 153 | public String getYonghushouji() { 154 | return yonghushouji; 155 | } 156 | 157 | } 158 | -------------------------------------------------------------------------------- /src/main/java/com/interceptor/AuthorizationInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.interceptor; 2 | 3 | import java.io.IOException; 4 | import java.io.PrintWriter; 5 | import java.util.HashMap; 6 | import java.util.Map; 7 | import com.alibaba.fastjson.JSONObject; 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | 11 | import org.apache.commons.lang3.StringUtils; 12 | import org.springframework.beans.factory.annotation.Autowired; 13 | import org.springframework.stereotype.Component; 14 | import org.springframework.web.method.HandlerMethod; 15 | import org.springframework.web.servlet.HandlerInterceptor; 16 | import org.springframework.web.bind.annotation.RequestMethod; 17 | import org.springframework.http.HttpStatus; 18 | 19 | import com.annotation.IgnoreAuth; 20 | import com.entity.EIException; 21 | import com.entity.TokenEntity; 22 | import com.service.TokenService; 23 | import com.utils.R; 24 | 25 | /** 26 | * 权限(Token)验证 27 | */ 28 | @Component 29 | public class AuthorizationInterceptor implements HandlerInterceptor { 30 | 31 | public static final String LOGIN_TOKEN_KEY = "Token"; 32 | 33 | @Autowired 34 | private TokenService tokenService; 35 | 36 | @Override 37 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { 38 | 39 | //支持跨域请求 40 | response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE"); 41 | response.setHeader("Access-Control-Max-Age", "3600"); 42 | response.setHeader("Access-Control-Allow-Credentials", "true"); 43 | response.setHeader("Access-Control-Allow-Headers", "x-requested-with,request-source,Token, Origin,imgType, Content-Type, cache-control,postman-token,Cookie, Accept,authorization"); 44 | response.setHeader("Access-Control-Allow-Origin", request.getHeader("Origin")); 45 | // 跨域时会首先发送一个OPTIONS请求,这里我们给OPTIONS请求直接返回正常状态 46 | if (request.getMethod().equals(RequestMethod.OPTIONS.name())) { 47 | response.setStatus(HttpStatus.OK.value()); 48 | return false; 49 | } 50 | 51 | IgnoreAuth annotation; 52 | if (handler instanceof HandlerMethod) { 53 | annotation = ((HandlerMethod) handler).getMethodAnnotation(IgnoreAuth.class); 54 | } else { 55 | return true; 56 | } 57 | 58 | //从header中获取token 59 | String token = request.getHeader(LOGIN_TOKEN_KEY); 60 | 61 | /** 62 | * 不需要验证权限的方法直接放过 63 | */ 64 | if(annotation!=null) { 65 | return true; 66 | } 67 | 68 | TokenEntity tokenEntity = null; 69 | if(StringUtils.isNotBlank(token)) { 70 | tokenEntity = tokenService.getTokenEntity(token); 71 | } 72 | 73 | if(tokenEntity != null) { 74 | request.getSession().setAttribute("userId", tokenEntity.getUserid()); 75 | request.getSession().setAttribute("role", tokenEntity.getRole()); 76 | request.getSession().setAttribute("tableName", tokenEntity.getTablename()); 77 | request.getSession().setAttribute("username", tokenEntity.getUsername()); 78 | return true; 79 | } 80 | 81 | PrintWriter writer = null; 82 | response.setCharacterEncoding("UTF-8"); 83 | response.setContentType("application/json; charset=utf-8"); 84 | try { 85 | writer = response.getWriter(); 86 | writer.print(JSONObject.toJSONString(R.error(401, "请先登录"))); 87 | } finally { 88 | if(writer != null){ 89 | writer.close(); 90 | } 91 | } 92 | // throw new EIException("请先登录", 401); 93 | return false; 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /src/main/java/com/service/AboutusService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.AboutusEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.AboutusVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.AboutusView; 12 | 13 | 14 | /** 15 | * 关于我们 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface AboutusService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | AboutusVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | AboutusView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/CommonService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public interface CommonService { 7 | List getOption(Map params); 8 | 9 | Map getFollowByOption(Map params); 10 | 11 | void sh(Map params); 12 | 13 | int remindCount(Map params); 14 | 15 | Map selectCal(Map params); 16 | 17 | List> selectGroup(Map params); 18 | 19 | List> selectValue(Map params); 20 | 21 | List> selectTimeStatValue(Map params); 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/service/ConfigService.java: -------------------------------------------------------------------------------- 1 | 2 | package com.service; 3 | 4 | import java.util.Map; 5 | 6 | import com.baomidou.mybatisplus.mapper.Wrapper; 7 | import com.baomidou.mybatisplus.service.IService; 8 | import com.entity.ConfigEntity; 9 | import com.utils.PageUtils; 10 | 11 | 12 | /** 13 | * 系统用户 14 | */ 15 | public interface ConfigService extends IService { 16 | PageUtils queryPage(Map params,Wrapper wrapper); 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/service/FangyirenyuanService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.FangyirenyuanEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.FangyirenyuanVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.FangyirenyuanView; 12 | 13 | 14 | /** 15 | * 防疫人员 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface FangyirenyuanService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | FangyirenyuanVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | FangyirenyuanView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/GnssdtService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.GnssdtEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.GnssdtVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.GnssdtView; 12 | 13 | 14 | /** 15 | * 国内实时动态 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface GnssdtService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | GnssdtVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | GnssdtView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | List> selectValue(Map params,Wrapper wrapper); 37 | 38 | List> selectTimeStatValue(Map params,Wrapper wrapper); 39 | 40 | List> selectGroup(Map params,Wrapper wrapper); 41 | 42 | 43 | 44 | } 45 | 46 | -------------------------------------------------------------------------------- /src/main/java/com/service/HesuanjiancedianService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.HesuanjiancedianEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.HesuanjiancedianVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.HesuanjiancedianView; 12 | 13 | 14 | /** 15 | * 核酸检测点 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface HesuanjiancedianService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | HesuanjiancedianVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | HesuanjiancedianView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/HesuanjianceyuyueService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.HesuanjianceyuyueEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.HesuanjianceyuyueVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.HesuanjianceyuyueView; 12 | 13 | 14 | /** 15 | * 核酸检测预约 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface HesuanjianceyuyueService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | HesuanjianceyuyueVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | HesuanjianceyuyueView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | List> selectValue(Map params,Wrapper wrapper); 37 | 38 | List> selectTimeStatValue(Map params,Wrapper wrapper); 39 | 40 | List> selectGroup(Map params,Wrapper wrapper); 41 | 42 | 43 | 44 | } 45 | 46 | -------------------------------------------------------------------------------- /src/main/java/com/service/HesuanjieguoService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.HesuanjieguoEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.HesuanjieguoVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.HesuanjieguoView; 12 | 13 | 14 | /** 15 | * 核酸结果 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface HesuanjieguoService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | HesuanjieguoVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | HesuanjieguoView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | List> selectValue(Map params,Wrapper wrapper); 37 | 38 | List> selectTimeStatValue(Map params,Wrapper wrapper); 39 | 40 | List> selectGroup(Map params,Wrapper wrapper); 41 | 42 | 43 | 44 | } 45 | 46 | -------------------------------------------------------------------------------- /src/main/java/com/service/MessagesService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.MessagesEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.MessagesVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.MessagesView; 12 | 13 | 14 | /** 15 | * 系统留言 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface MessagesService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | MessagesVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | MessagesView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/NewsService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.NewsEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.NewsVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.NewsView; 12 | 13 | 14 | /** 15 | * 疫情资讯 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface NewsService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | NewsVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | NewsView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/QgsssjService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.QgsssjEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.QgsssjVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.QgsssjView; 12 | 13 | 14 | /** 15 | * 全国实时数据 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface QgsssjService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | QgsssjVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | QgsssjView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/SystemintroService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.SystemintroEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.SystemintroVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.SystemintroView; 12 | 13 | 14 | /** 15 | * 关于我们 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface SystemintroService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | SystemintroVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | SystemintroView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/TokenService.java: -------------------------------------------------------------------------------- 1 | 2 | package com.service; 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.service.IService; 9 | import com.entity.TokenEntity; 10 | import com.utils.PageUtils; 11 | 12 | 13 | /** 14 | * token 15 | */ 16 | public interface TokenService extends IService { 17 | PageUtils queryPage(Map params); 18 | 19 | List selectListView(Wrapper wrapper); 20 | 21 | PageUtils queryPage(Map params,Wrapper wrapper); 22 | 23 | String generateToken(Long userid,String username,String tableName, String role); 24 | 25 | TokenEntity getTokenEntity(String token); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/service/UsersService.java: -------------------------------------------------------------------------------- 1 | 2 | package com.service; 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | import com.baomidou.mybatisplus.mapper.Wrapper; 10 | import com.baomidou.mybatisplus.service.IService; 11 | import com.entity.UsersEntity; 12 | import com.utils.PageUtils; 13 | 14 | 15 | /** 16 | * 系统用户 17 | */ 18 | public interface UsersService extends IService { 19 | PageUtils queryPage(Map params); 20 | 21 | List selectListView(Wrapper wrapper); 22 | 23 | PageUtils queryPage(Map params,Wrapper wrapper); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/com/service/YonghuService.java: -------------------------------------------------------------------------------- 1 | package com.service; 2 | 3 | import com.baomidou.mybatisplus.mapper.Wrapper; 4 | import com.baomidou.mybatisplus.service.IService; 5 | import com.utils.PageUtils; 6 | import com.entity.YonghuEntity; 7 | import java.util.List; 8 | import java.util.Map; 9 | import com.entity.vo.YonghuVO; 10 | import org.apache.ibatis.annotations.Param; 11 | import com.entity.view.YonghuView; 12 | 13 | 14 | /** 15 | * 用户 16 | * 17 | * @author 18 | * @email 19 | * @date 2023-02-21 11:55:18 20 | */ 21 | public interface YonghuService extends IService { 22 | 23 | PageUtils queryPage(Map params); 24 | 25 | List selectListVO(Wrapper wrapper); 26 | 27 | YonghuVO selectVO(@Param("ew") Wrapper wrapper); 28 | 29 | List selectListView(Wrapper wrapper); 30 | 31 | YonghuView selectView(@Param("ew") Wrapper wrapper); 32 | 33 | PageUtils queryPage(Map params,Wrapper wrapper); 34 | 35 | 36 | } 37 | 38 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/AboutusServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.AboutusDao; 16 | import com.entity.AboutusEntity; 17 | import com.service.AboutusService; 18 | import com.entity.vo.AboutusVO; 19 | import com.entity.view.AboutusView; 20 | 21 | @Service("aboutusService") 22 | public class AboutusServiceImpl extends ServiceImpl implements AboutusService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public AboutusVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public AboutusView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/CommonServiceImpl.java: -------------------------------------------------------------------------------- 1 | 2 | package com.service.impl; 3 | 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.stereotype.Service; 10 | 11 | import com.dao.CommonDao; 12 | import com.service.CommonService; 13 | 14 | 15 | /** 16 | * 系统用户 17 | */ 18 | @Service("commonService") 19 | public class CommonServiceImpl implements CommonService { 20 | 21 | @Autowired 22 | private CommonDao commonDao; 23 | 24 | @Override 25 | public List getOption(Map params) { 26 | return commonDao.getOption(params); 27 | } 28 | 29 | @Override 30 | public Map getFollowByOption(Map params) { 31 | return commonDao.getFollowByOption(params); 32 | } 33 | 34 | @Override 35 | public void sh(Map params) { 36 | commonDao.sh(params); 37 | } 38 | 39 | @Override 40 | public int remindCount(Map params) { 41 | return commonDao.remindCount(params); 42 | } 43 | 44 | @Override 45 | public Map selectCal(Map params) { 46 | return commonDao.selectCal(params); 47 | } 48 | 49 | @Override 50 | public List> selectGroup(Map params) { 51 | return commonDao.selectGroup(params); 52 | } 53 | 54 | @Override 55 | public List> selectValue(Map params) { 56 | return commonDao.selectValue(params); 57 | } 58 | 59 | @Override 60 | public List> selectTimeStatValue(Map params) { 61 | return commonDao.selectTimeStatValue(params); 62 | } 63 | 64 | } 65 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/ConfigServiceImpl.java: -------------------------------------------------------------------------------- 1 | 2 | package com.service.impl; 3 | 4 | 5 | import java.util.Map; 6 | 7 | import org.springframework.stereotype.Service; 8 | 9 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 10 | import com.baomidou.mybatisplus.mapper.Wrapper; 11 | import com.baomidou.mybatisplus.plugins.Page; 12 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 13 | import com.dao.ConfigDao; 14 | import com.entity.ConfigEntity; 15 | import com.service.ConfigService; 16 | import com.utils.PageUtils; 17 | import com.utils.Query; 18 | 19 | 20 | /** 21 | * 系统用户 22 | */ 23 | @Service("configService") 24 | public class ConfigServiceImpl extends ServiceImpl implements ConfigService { 25 | @Override 26 | public PageUtils queryPage(Map params, Wrapper wrapper) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | wrapper 30 | ); 31 | return new PageUtils(page); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/FangyirenyuanServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.FangyirenyuanDao; 16 | import com.entity.FangyirenyuanEntity; 17 | import com.service.FangyirenyuanService; 18 | import com.entity.vo.FangyirenyuanVO; 19 | import com.entity.view.FangyirenyuanView; 20 | 21 | @Service("fangyirenyuanService") 22 | public class FangyirenyuanServiceImpl extends ServiceImpl implements FangyirenyuanService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public FangyirenyuanVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public FangyirenyuanView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/GnssdtServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.GnssdtDao; 16 | import com.entity.GnssdtEntity; 17 | import com.service.GnssdtService; 18 | import com.entity.vo.GnssdtVO; 19 | import com.entity.view.GnssdtView; 20 | 21 | @Service("gnssdtService") 22 | public class GnssdtServiceImpl extends ServiceImpl implements GnssdtService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public GnssdtVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public GnssdtView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | @Override 63 | public List> selectValue(Map params, Wrapper wrapper) { 64 | return baseMapper.selectValue(params, wrapper); 65 | } 66 | 67 | @Override 68 | public List> selectTimeStatValue(Map params, Wrapper wrapper) { 69 | return baseMapper.selectTimeStatValue(params, wrapper); 70 | } 71 | 72 | @Override 73 | public List> selectGroup(Map params, Wrapper wrapper) { 74 | return baseMapper.selectGroup(params, wrapper); 75 | } 76 | 77 | 78 | 79 | 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/HesuanjiancedianServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.HesuanjiancedianDao; 16 | import com.entity.HesuanjiancedianEntity; 17 | import com.service.HesuanjiancedianService; 18 | import com.entity.vo.HesuanjiancedianVO; 19 | import com.entity.view.HesuanjiancedianView; 20 | 21 | @Service("hesuanjiancedianService") 22 | public class HesuanjiancedianServiceImpl extends ServiceImpl implements HesuanjiancedianService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public HesuanjiancedianVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public HesuanjiancedianView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/HesuanjianceyuyueServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.HesuanjianceyuyueDao; 16 | import com.entity.HesuanjianceyuyueEntity; 17 | import com.service.HesuanjianceyuyueService; 18 | import com.entity.vo.HesuanjianceyuyueVO; 19 | import com.entity.view.HesuanjianceyuyueView; 20 | 21 | @Service("hesuanjianceyuyueService") 22 | public class HesuanjianceyuyueServiceImpl extends ServiceImpl implements HesuanjianceyuyueService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public HesuanjianceyuyueVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public HesuanjianceyuyueView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | @Override 63 | public List> selectValue(Map params, Wrapper wrapper) { 64 | return baseMapper.selectValue(params, wrapper); 65 | } 66 | 67 | @Override 68 | public List> selectTimeStatValue(Map params, Wrapper wrapper) { 69 | return baseMapper.selectTimeStatValue(params, wrapper); 70 | } 71 | 72 | @Override 73 | public List> selectGroup(Map params, Wrapper wrapper) { 74 | return baseMapper.selectGroup(params, wrapper); 75 | } 76 | 77 | 78 | 79 | 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/HesuanjieguoServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.HesuanjieguoDao; 16 | import com.entity.HesuanjieguoEntity; 17 | import com.service.HesuanjieguoService; 18 | import com.entity.vo.HesuanjieguoVO; 19 | import com.entity.view.HesuanjieguoView; 20 | 21 | @Service("hesuanjieguoService") 22 | public class HesuanjieguoServiceImpl extends ServiceImpl implements HesuanjieguoService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public HesuanjieguoVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public HesuanjieguoView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | @Override 63 | public List> selectValue(Map params, Wrapper wrapper) { 64 | return baseMapper.selectValue(params, wrapper); 65 | } 66 | 67 | @Override 68 | public List> selectTimeStatValue(Map params, Wrapper wrapper) { 69 | return baseMapper.selectTimeStatValue(params, wrapper); 70 | } 71 | 72 | @Override 73 | public List> selectGroup(Map params, Wrapper wrapper) { 74 | return baseMapper.selectGroup(params, wrapper); 75 | } 76 | 77 | 78 | 79 | 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/MessagesServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.MessagesDao; 16 | import com.entity.MessagesEntity; 17 | import com.service.MessagesService; 18 | import com.entity.vo.MessagesVO; 19 | import com.entity.view.MessagesView; 20 | 21 | @Service("messagesService") 22 | public class MessagesServiceImpl extends ServiceImpl implements MessagesService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public MessagesVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public MessagesView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/NewsServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.NewsDao; 16 | import com.entity.NewsEntity; 17 | import com.service.NewsService; 18 | import com.entity.vo.NewsVO; 19 | import com.entity.view.NewsView; 20 | 21 | @Service("newsService") 22 | public class NewsServiceImpl extends ServiceImpl implements NewsService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public NewsVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public NewsView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/QgsssjServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.QgsssjDao; 16 | import com.entity.QgsssjEntity; 17 | import com.service.QgsssjService; 18 | import com.entity.vo.QgsssjVO; 19 | import com.entity.view.QgsssjView; 20 | 21 | @Service("qgsssjService") 22 | public class QgsssjServiceImpl extends ServiceImpl implements QgsssjService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public QgsssjVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public QgsssjView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/SystemintroServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.SystemintroDao; 16 | import com.entity.SystemintroEntity; 17 | import com.service.SystemintroService; 18 | import com.entity.vo.SystemintroVO; 19 | import com.entity.view.SystemintroView; 20 | 21 | @Service("systemintroService") 22 | public class SystemintroServiceImpl extends ServiceImpl implements SystemintroService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public SystemintroVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public SystemintroView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/TokenServiceImpl.java: -------------------------------------------------------------------------------- 1 | 2 | package com.service.impl; 3 | 4 | 5 | import java.util.Calendar; 6 | import java.util.Date; 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | import org.springframework.stereotype.Service; 11 | 12 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 13 | import com.baomidou.mybatisplus.mapper.Wrapper; 14 | import com.baomidou.mybatisplus.plugins.Page; 15 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 16 | import com.dao.TokenDao; 17 | import com.entity.TokenEntity; 18 | import com.entity.TokenEntity; 19 | import com.service.TokenService; 20 | import com.utils.CommonUtil; 21 | import com.utils.PageUtils; 22 | import com.utils.Query; 23 | 24 | 25 | /** 26 | * token 27 | */ 28 | @Service("tokenService") 29 | public class TokenServiceImpl extends ServiceImpl implements TokenService { 30 | 31 | @Override 32 | public PageUtils queryPage(Map params) { 33 | Page page = this.selectPage( 34 | new Query(params).getPage(), 35 | new EntityWrapper() 36 | ); 37 | return new PageUtils(page); 38 | } 39 | 40 | @Override 41 | public List selectListView(Wrapper wrapper) { 42 | return baseMapper.selectListView(wrapper); 43 | } 44 | 45 | @Override 46 | public PageUtils queryPage(Map params, 47 | Wrapper wrapper) { 48 | Page page =new Query(params).getPage(); 49 | page.setRecords(baseMapper.selectListView(page,wrapper)); 50 | PageUtils pageUtil = new PageUtils(page); 51 | return pageUtil; 52 | } 53 | 54 | @Override 55 | public String generateToken(Long userid,String username, String tableName, String role) { 56 | TokenEntity tokenEntity = this.selectOne(new EntityWrapper().eq("userid", userid).eq("role", role)); 57 | String token = CommonUtil.getRandomString(32); 58 | Calendar cal = Calendar.getInstance(); 59 | cal.setTime(new Date()); 60 | cal.add(Calendar.HOUR_OF_DAY, 1); 61 | if(tokenEntity!=null) { 62 | tokenEntity.setToken(token); 63 | tokenEntity.setExpiratedtime(cal.getTime()); 64 | this.updateById(tokenEntity); 65 | } else { 66 | this.insert(new TokenEntity(userid,username, tableName, role, token, cal.getTime())); 67 | } 68 | return token; 69 | } 70 | 71 | @Override 72 | public TokenEntity getTokenEntity(String token) { 73 | TokenEntity tokenEntity = this.selectOne(new EntityWrapper().eq("token", token)); 74 | if(tokenEntity == null || tokenEntity.getExpiratedtime().getTime() implements UsersService { 26 | 27 | @Override 28 | public PageUtils queryPage(Map params) { 29 | Page page = this.selectPage( 30 | new Query(params).getPage(), 31 | new EntityWrapper() 32 | ); 33 | return new PageUtils(page); 34 | } 35 | 36 | @Override 37 | public List selectListView(Wrapper wrapper) { 38 | return baseMapper.selectListView(wrapper); 39 | } 40 | 41 | @Override 42 | public PageUtils queryPage(Map params, 43 | Wrapper wrapper) { 44 | Page page =new Query(params).getPage(); 45 | page.setRecords(baseMapper.selectListView(page,wrapper)); 46 | PageUtils pageUtil = new PageUtils(page); 47 | return pageUtil; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/service/impl/YonghuServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.service.impl; 2 | 3 | import org.springframework.stereotype.Service; 4 | import java.util.Map; 5 | import java.util.List; 6 | 7 | import com.baomidou.mybatisplus.mapper.Wrapper; 8 | import com.baomidou.mybatisplus.mapper.EntityWrapper; 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; 11 | import com.utils.PageUtils; 12 | import com.utils.Query; 13 | 14 | 15 | import com.dao.YonghuDao; 16 | import com.entity.YonghuEntity; 17 | import com.service.YonghuService; 18 | import com.entity.vo.YonghuVO; 19 | import com.entity.view.YonghuView; 20 | 21 | @Service("yonghuService") 22 | public class YonghuServiceImpl extends ServiceImpl implements YonghuService { 23 | 24 | 25 | @Override 26 | public PageUtils queryPage(Map params) { 27 | Page page = this.selectPage( 28 | new Query(params).getPage(), 29 | new EntityWrapper() 30 | ); 31 | return new PageUtils(page); 32 | } 33 | 34 | @Override 35 | public PageUtils queryPage(Map params, Wrapper wrapper) { 36 | Page page =new Query(params).getPage(); 37 | page.setRecords(baseMapper.selectListView(page,wrapper)); 38 | PageUtils pageUtil = new PageUtils(page); 39 | return pageUtil; 40 | } 41 | 42 | @Override 43 | public List selectListVO(Wrapper wrapper) { 44 | return baseMapper.selectListVO(wrapper); 45 | } 46 | 47 | @Override 48 | public YonghuVO selectVO(Wrapper wrapper) { 49 | return baseMapper.selectVO(wrapper); 50 | } 51 | 52 | @Override 53 | public List selectListView(Wrapper wrapper) { 54 | return baseMapper.selectListView(wrapper); 55 | } 56 | 57 | @Override 58 | public YonghuView selectView(Wrapper wrapper) { 59 | return baseMapper.selectView(wrapper); 60 | } 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/main/java/com/utils/FileUtil.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.io.ByteArrayOutputStream; 4 | import java.io.File; 5 | import java.io.FileInputStream; 6 | import java.io.IOException; 7 | import java.io.InputStream; 8 | 9 | /** 10 | * 类说明 : 11 | */ 12 | 13 | public class FileUtil { 14 | public static byte[] FileToByte(File file) throws IOException { 15 | // 将数据转为流 16 | @SuppressWarnings("resource") 17 | InputStream content = new FileInputStream(file); 18 | ByteArrayOutputStream swapStream = new ByteArrayOutputStream(); 19 | byte[] buff = new byte[100]; 20 | int rc = 0; 21 | while ((rc = content.read(buff, 0, 100)) > 0) { 22 | swapStream.write(buff, 0, rc); 23 | } 24 | // 获得二进制数组 25 | return swapStream.toByteArray(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/utils/HttpClientUtils.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.InputStreamReader; 5 | import java.net.HttpURLConnection; 6 | import java.net.URL; 7 | 8 | 9 | /** 10 | * HttpClient工具类 11 | */ 12 | public class HttpClientUtils { 13 | 14 | /** 15 | * @param uri 16 | * @return String 17 | * @description get请求方式 18 | * @author: long.he01 19 | */ 20 | public static String doGet(String uri) { 21 | 22 | StringBuilder result = new StringBuilder(); 23 | try { 24 | String res = ""; 25 | URL url = new URL(uri); 26 | HttpURLConnection conn = (HttpURLConnection) url.openConnection(); 27 | BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8")); 28 | String line; 29 | while ((line = in.readLine()) != null) { 30 | res += line+"\n"; 31 | } 32 | in.close(); 33 | return res; 34 | }catch (Exception e) { 35 | e.printStackTrace(); 36 | return null; 37 | } 38 | 39 | } 40 | 41 | } 42 | 43 | -------------------------------------------------------------------------------- /src/main/java/com/utils/JQPageInfo.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | public class JQPageInfo{ 4 | private Integer page; 5 | 6 | private Integer limit; 7 | 8 | private String sidx; 9 | 10 | private String order; 11 | 12 | private Integer offset; 13 | 14 | public Integer getPage() { 15 | return page; 16 | } 17 | 18 | public void setPage(Integer page) { 19 | this.page = page; 20 | } 21 | 22 | public Integer getLimit() { 23 | return limit; 24 | } 25 | 26 | public void setLimit(Integer limit) { 27 | this.limit = limit; 28 | } 29 | 30 | public String getSidx() { 31 | return sidx; 32 | } 33 | 34 | public void setSidx(String sidx) { 35 | this.sidx = sidx; 36 | } 37 | 38 | public String getOrder() { 39 | return order; 40 | } 41 | 42 | public void setOrder(String order) { 43 | this.order = order; 44 | } 45 | 46 | public Integer getOffset() { 47 | return offset; 48 | } 49 | 50 | public void setOffset(Integer offset) { 51 | this.offset = offset; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/com/utils/MD5Util.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import cn.hutool.crypto.digest.DigestUtil; 4 | 5 | public class MD5Util { 6 | 7 | /** 8 | * @param text明文 9 | * @param key密钥 10 | * @return 密文 11 | */ 12 | // 带秘钥加密 13 | public static String md5(String text) { 14 | // 加密后的字符串 15 | String md5str = DigestUtil.md5Hex(text); 16 | return md5str; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/utils/PageUtils.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | import java.io.Serializable; 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | import com.baomidou.mybatisplus.plugins.Page; 9 | 10 | /** 11 | * 分页工具类 12 | */ 13 | public class PageUtils implements Serializable { 14 | private static final long serialVersionUID = 1L; 15 | //总记录数 16 | private long total; 17 | //每页记录数 18 | private int pageSize; 19 | //总页数 20 | private long totalPage; 21 | //当前页数 22 | private int currPage; 23 | //列表数据 24 | private List list; 25 | 26 | /** 27 | * 分页 28 | * @param list 列表数据 29 | * @param totalCount 总记录数 30 | * @param pageSize 每页记录数 31 | * @param currPage 当前页数 32 | */ 33 | public PageUtils(List list, int totalCount, int pageSize, int currPage) { 34 | this.list = list; 35 | this.total = totalCount; 36 | this.pageSize = pageSize; 37 | this.currPage = currPage; 38 | this.totalPage = (int)Math.ceil((double)totalCount/pageSize); 39 | } 40 | 41 | /** 42 | * 分页 43 | */ 44 | public PageUtils(Page page) { 45 | this.list = page.getRecords(); 46 | this.total = page.getTotal(); 47 | this.pageSize = page.getSize(); 48 | this.currPage = page.getCurrent(); 49 | this.totalPage = page.getPages(); 50 | } 51 | 52 | /* 53 | * 空数据的分页 54 | */ 55 | public PageUtils(Map params) { 56 | Page page =new Query(params).getPage(); 57 | new PageUtils(page); 58 | } 59 | 60 | 61 | public int getPageSize() { 62 | return pageSize; 63 | } 64 | 65 | public void setPageSize(int pageSize) { 66 | this.pageSize = pageSize; 67 | } 68 | 69 | public int getCurrPage() { 70 | return currPage; 71 | } 72 | 73 | public void setCurrPage(int currPage) { 74 | this.currPage = currPage; 75 | } 76 | 77 | public List getList() { 78 | return list; 79 | } 80 | 81 | public void setList(List list) { 82 | this.list = list; 83 | } 84 | 85 | public long getTotalPage() { 86 | return totalPage; 87 | } 88 | 89 | public void setTotalPage(long totalPage) { 90 | this.totalPage = totalPage; 91 | } 92 | 93 | public long getTotal() { 94 | return total; 95 | } 96 | 97 | public void setTotal(long total) { 98 | this.total = total; 99 | } 100 | 101 | } 102 | -------------------------------------------------------------------------------- /src/main/java/com/utils/Query.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | import java.util.LinkedHashMap; 5 | import java.util.Map; 6 | 7 | import org.apache.commons.lang3.StringUtils; 8 | 9 | import com.baomidou.mybatisplus.plugins.Page; 10 | 11 | /** 12 | * 查询参数 13 | */ 14 | public class Query extends LinkedHashMap { 15 | private static final long serialVersionUID = 1L; 16 | /** 17 | * mybatis-plus分页参数 18 | */ 19 | private Page page; 20 | /** 21 | * 当前页码 22 | */ 23 | private int currPage = 1; 24 | /** 25 | * 每页条数 26 | */ 27 | private int limit = 10; 28 | 29 | public Query(JQPageInfo pageInfo) { 30 | //分页参数 31 | if(pageInfo.getPage()!= null){ 32 | currPage = pageInfo.getPage(); 33 | } 34 | if(pageInfo.getLimit()!= null){ 35 | limit = pageInfo.getLimit(); 36 | } 37 | 38 | 39 | //防止SQL注入(因为sidx、order是通过拼接SQL实现排序的,会有SQL注入风险) 40 | String sidx = SQLFilter.sqlInject(pageInfo.getSidx()); 41 | String order = SQLFilter.sqlInject(pageInfo.getOrder()); 42 | 43 | 44 | //mybatis-plus分页 45 | this.page = new Page<>(currPage, limit); 46 | 47 | //排序 48 | if(StringUtils.isNotBlank(sidx) && StringUtils.isNotBlank(order)){ 49 | this.page.setOrderByField(sidx); 50 | this.page.setAsc("ASC".equalsIgnoreCase(order)); 51 | } 52 | } 53 | 54 | 55 | public Query(Map params){ 56 | this.putAll(params); 57 | 58 | //分页参数 59 | if(params.get("page") != null){ 60 | currPage = Integer.parseInt((String)params.get("page")); 61 | } 62 | if(params.get("limit") != null){ 63 | limit = Integer.parseInt((String)params.get("limit")); 64 | } 65 | 66 | this.put("offset", (currPage - 1) * limit); 67 | this.put("page", currPage); 68 | this.put("limit", limit); 69 | 70 | //防止SQL注入(因为sidx、order是通过拼接SQL实现排序的,会有SQL注入风险) 71 | String sidx = SQLFilter.sqlInject((String)params.get("sidx")); 72 | String order = SQLFilter.sqlInject((String)params.get("order")); 73 | this.put("sidx", sidx); 74 | this.put("order", order); 75 | 76 | //mybatis-plus分页 77 | this.page = new Page<>(currPage, limit); 78 | 79 | //排序 80 | if(StringUtils.isNotBlank(sidx) && StringUtils.isNotBlank(order)){ 81 | this.page.setOrderByField(sidx); 82 | this.page.setAsc("ASC".equalsIgnoreCase(order)); 83 | } 84 | 85 | } 86 | 87 | public Page getPage() { 88 | return page; 89 | } 90 | 91 | public int getCurrPage() { 92 | return currPage; 93 | } 94 | 95 | public int getLimit() { 96 | return limit; 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /src/main/java/com/utils/R.java: -------------------------------------------------------------------------------- 1 | package com.utils; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | /** 7 | * 返回数据 8 | */ 9 | public class R extends HashMap { 10 | private static final long serialVersionUID = 1L; 11 | 12 | public R() { 13 | put("code", 0); 14 | } 15 | 16 | public static R error() { 17 | return error(500, "未知异常,请联系管理员"); 18 | } 19 | 20 | public static R error(String msg) { 21 | return error(500, msg); 22 | } 23 | 24 | public static R error(int code, String msg) { 25 | R r = new R(); 26 | r.put("code", code); 27 | r.put("msg", msg); 28 | return r; 29 | } 30 | 31 | public static R ok(String msg) { 32 | R r = new R(); 33 | r.put("msg", msg); 34 | return r; 35 | } 36 | 37 | public static R ok(Map map) { 38 | R r = new R(); 39 | r.putAll(map); 40 | return r; 41 | } 42 | 43 | public static R ok() { 44 | return new R(); 45 | } 46 | 47 | public R put(String key, Object value) { 48 | super.put(key, value); 49 | return this; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/com/utils/SQLFilter.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | import org.apache.commons.lang3.StringUtils; 5 | 6 | import com.entity.EIException; 7 | 8 | /** 9 | * SQL过滤 10 | */ 11 | public class SQLFilter { 12 | 13 | /** 14 | * SQL注入过滤 15 | * @param str 待验证的字符串 16 | */ 17 | public static String sqlInject(String str){ 18 | if(StringUtils.isBlank(str)){ 19 | return null; 20 | } 21 | //去掉'|"|;|\字符 22 | str = StringUtils.replace(str, "'", ""); 23 | str = StringUtils.replace(str, "\"", ""); 24 | str = StringUtils.replace(str, ";", ""); 25 | str = StringUtils.replace(str, "\\", ""); 26 | 27 | //转换成小写 28 | str = str.toLowerCase(); 29 | 30 | //非法字符 31 | String[] keywords = {"master", "truncate", "insert", "select", "delete", "update", "declare", "alter", "drop"}; 32 | 33 | //判断是否包含非法字符 34 | for(String keyword : keywords){ 35 | if(str.indexOf(keyword) != -1){ 36 | throw new EIException("包含非法字符"); 37 | } 38 | } 39 | 40 | return str; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/com/utils/SpringContextUtils.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | import org.springframework.beans.BeansException; 5 | import org.springframework.context.ApplicationContext; 6 | import org.springframework.context.ApplicationContextAware; 7 | import org.springframework.stereotype.Component; 8 | 9 | 10 | /** 11 | * Spring Context 工具类 12 | */ 13 | @Component 14 | public class SpringContextUtils implements ApplicationContextAware { 15 | public static ApplicationContext applicationContext; 16 | 17 | @Override 18 | public void setApplicationContext(ApplicationContext applicationContext) 19 | throws BeansException { 20 | SpringContextUtils.applicationContext = applicationContext; 21 | } 22 | 23 | public static Object getBean(String name) { 24 | return applicationContext.getBean(name); 25 | } 26 | 27 | public static T getBean(String name, Class requiredType) { 28 | return applicationContext.getBean(name, requiredType); 29 | } 30 | 31 | public static boolean containsBean(String name) { 32 | return applicationContext.containsBean(name); 33 | } 34 | 35 | public static boolean isSingleton(String name) { 36 | return applicationContext.isSingleton(name); 37 | } 38 | 39 | public static Class getType(String name) { 40 | return applicationContext.getType(name); 41 | } 42 | 43 | } -------------------------------------------------------------------------------- /src/main/java/com/utils/ValidatorUtils.java: -------------------------------------------------------------------------------- 1 | 2 | package com.utils; 3 | 4 | 5 | import java.util.Set; 6 | 7 | import javax.validation.ConstraintViolation; 8 | import javax.validation.Validation; 9 | import javax.validation.Validator; 10 | 11 | import com.entity.EIException; 12 | 13 | /** 14 | * hibernate-validator校验工具类 15 | */ 16 | public class ValidatorUtils { 17 | private static Validator validator; 18 | 19 | static { 20 | validator = Validation.buildDefaultValidatorFactory().getValidator(); 21 | } 22 | 23 | /** 24 | * 校验对象 25 | * @param object 待校验对象 26 | * @param groups 待校验的组 27 | * @throws EIException 校验不通过,则报EIException异常 28 | */ 29 | public static void validateEntity(Object object, Class... groups) 30 | throws EIException { 31 | Set> constraintViolations = validator.validate(object, groups); 32 | if (!constraintViolations.isEmpty()) { 33 | ConstraintViolation constraint = (ConstraintViolation)constraintViolations.iterator().next(); 34 | throw new EIException(constraint.getMessage()); 35 | } 36 | } 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | # Tomcat 2 | server: 3 | tomcat: 4 | uri-encoding: UTF-8 5 | port: 8080 6 | servlet: 7 | context-path: /springboot3mkgh 8 | 9 | 10 | spring: 11 | datasource: 12 | driverClassName: com.mysql.cj.jdbc.Driver 13 | url: jdbc:mysql://127.0.0.1:3306/springboot3mkgh?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 14 | username: root 15 | password: 123456 16 | 17 | # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver 18 | # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=springboot3mkgh 19 | # username: sa 20 | # password: 123456 21 | 22 | servlet: 23 | multipart: 24 | max-file-size: 300MB 25 | max-request-size: 300MB 26 | resources: 27 | static-locations: classpath:static/,file:static/ 28 | 29 | #mybatis 30 | mybatis-plus: 31 | mapper-locations: classpath*:mapper/*.xml 32 | #实体扫描,多个package用逗号或者分号分隔 33 | typeAliasesPackage: com.entity 34 | global-config: 35 | #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; 36 | id-type: 1 37 | #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" 38 | field-strategy: 1 39 | #驼峰下划线转换 40 | db-column-underline: true 41 | #刷新mapper 调试神器 42 | refresh-mapper: true 43 | #逻辑删除配置 44 | logic-delete-value: -1 45 | logic-not-delete-value: 0 46 | #自定义SQL注入器 47 | sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector 48 | configuration: 49 | map-underscore-to-camel-case: true 50 | cache-enabled: false 51 | call-setters-on-nulls: true 52 | #springboot 项目mybatis plus 设置 jdbcTypeForNull (oracle数据库需配置JdbcType.NULL, 默认是Other) 53 | jdbc-type-for-null: 'null' 54 | -------------------------------------------------------------------------------- /src/main/resources/mapper/AboutusDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 21 | 22 | 27 | 28 | 34 | 35 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/mapper/CommonDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | 22 | 23 | 24 | UPDATE ${table} set sfsh=#{sfsh} where id=#{id} 25 | 26 | 27 | 47 | 48 | 51 | 52 | 55 | 56 | 59 | 60 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/main/resources/mapper/ConfigDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/mapper/FangyirenyuanDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 22 | 23 | 28 | 29 | 35 | 36 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/main/resources/mapper/GnssdtDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 19 | 20 | 25 | 26 | 32 | 33 | 37 | 38 | 39 | 45 | 46 | 63 | 64 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /src/main/resources/mapper/HesuanjiancedianDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 23 | 24 | 29 | 30 | 36 | 37 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/main/resources/mapper/HesuanjianceyuyueDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 35 | 36 | 42 | 43 | 47 | 48 | 49 | 55 | 56 | 73 | 74 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/main/resources/mapper/HesuanjieguoDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 26 | 27 | 32 | 33 | 39 | 40 | 44 | 45 | 46 | 52 | 53 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /src/main/resources/mapper/MessagesDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 22 | 23 | 28 | 29 | 35 | 36 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/main/resources/mapper/NewsDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 19 | 20 | 25 | 26 | 32 | 33 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /src/main/resources/mapper/QgsssjDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 19 | 20 | 25 | 26 | 32 | 33 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /src/main/resources/mapper/SystemintroDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 21 | 22 | 27 | 28 | 34 | 35 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/mapper/TokenDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/resources/mapper/UsersDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/main/resources/mapper/YonghuDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 22 | 23 | 28 | 29 | 35 | 36 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/main/resources/static/upload/1577351717989.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/1577351717989.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/aboutus_picture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/aboutus_picture1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/aboutus_picture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/aboutus_picture2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/aboutus_picture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/aboutus_picture3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang4.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang5.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang6.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang7.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/fangyirenyuan_touxiang8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/fangyirenyuan_touxiang8.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian4.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian5.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian6.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian7.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/hesuanjiancedian_fengmiantupian8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/hesuanjiancedian_fengmiantupian8.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture4.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture5.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture6.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture7.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_cpicture8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_cpicture8.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture4.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture5.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture6.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture7.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/messages_rpicture8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/messages_rpicture8.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture4.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture5.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture6.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture7.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/news_picture8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/news_picture8.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/picture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/picture1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/picture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/picture2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/picture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/picture3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/systemintro_picture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/systemintro_picture1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/systemintro_picture2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/systemintro_picture2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/systemintro_picture3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/systemintro_picture3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/test -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang1.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang3.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang4.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang5.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang6.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang7.jpg -------------------------------------------------------------------------------- /src/main/resources/static/upload/yonghu_touxiang8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nature924/No266Epidemic-prevention-and-control-management-system/392d82230acf50ebe91185a1fedcc6eb8bcd16ea/src/main/resources/static/upload/yonghu_touxiang8.jpg -------------------------------------------------------------------------------- /src/test/java/com/SpringbootSchemaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootSchemaApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | --------------------------------------------------------------------------------