spring boot

【Graduation DesignCourse Design】SSM-based Epidemic Information Management System

Article directory 0 item description 1 Introduction 2 System function modules 3 System interface 3.1 Login interface 3.2 Data Panel Interface 3.3 Diagnosed patient management interface 3.4 Patient Details Interface 3.5 Create a new interface for close contacts 4 Project source code 0 item description Epidemic information management system based on SSM Get the project …

【Graduation DesignCourse Design】SSM-based Epidemic Information Management System Read More »

springboot integrates MybatisPlus, the required import dependencies

springboot integrates MybatisPlus, the required import dependencies <!– The version is extracted uniformly here, which is convenient for updating and modifying jar package conflicts–> < properties > < spring.version > 5.2.3.RELEASE </ spring.version > < aspectjweaver.version > 1.9.5 </ aspectjweaver .version > < jackson.version > 2.10.2 </ jackson.version > < servlet.version > 4.0.1 </ servlet.version …

springboot integrates MybatisPlus, the required import dependencies Read More »

Record Spring boot’s first use of timed tasks and multithreading

In the process of work, the need to update data through timers and to speed up the update speed of remote server configuration files through [multi-threading] is also a big challenge for a newcomer. The use of , and it is not implemented through spring boot, so it is hereby recorded for your own reference. …

Record Spring boot’s first use of timed tasks and multithreading Read More »

3. spring-bootmybatis query database by annotation method

domain/User.class package com.spring.boot.domain; public class User { private int id; private String username; private String password; } mapper/UserMapper package com.spring.boot.mapper; import com.spring.boot.domain.User; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import java.util.List; @Mapper public interface UserMapper { @Select("select * from t_user") List<User> findAll(); } Main startup class skipped application.yml spring: datasource: driver-class-name: com.mysql.jdbc.Driver username: root password: 123456 TestApplication.class import …

3. spring-bootmybatis query database by annotation method Read More »

[Cloud native] SpringCloud-Spring Boot Starter usage test

Table of contents What is Spring Boot Starter? previous traditional practice After using Spring Boot Starter The idea of ​​starter: Implementation of starter: Create a Spring Boot Starter step Create a new starter project in the idea and directly execute the next step to generate the project. Add the following configuration file to the xml: …

[Cloud native] SpringCloud-Spring Boot Starter usage test Read More »

Springboot Nursing Home Management System

Author’s homepage: Ye Weiyang 5788 Introduction: high-quality creators in the Java field, Java projects, learning materials, technical mutual assistance Get the source code at the end of the article Project Introduction Based on springboot nursing home management system, this system is a [background management system] , which is divided into three roles, namely super administrator, …

Springboot Nursing Home Management System Read More »

SpringBoot (two ways to use each)

SpringBoot (two ways to use each) 1.Controller @RequestMapping("/success") public String success(Map<String,Object> map){ map.put("users", Arrays.asList("zhangsan", "lisi", "wangwu")); return "success"; } 2.Display in html (thymeleaf framework) <div th:text="${user}" th:each="user:${users}"></div> <hr> <div th:each="user:${users}">[(${user})]</div> The first way to output is to use th:text The second output method is to use [(${user})], [(…)] is equivalent to th:utext [[${text}]],[[…]] is equivalent …

SpringBoot (two ways to use each) Read More »

Modification of the built-in Tomcat version of the Spring Boot series

background Before spring boot comes out, or when spring boot is not used, if you choose tomcat servlet during Java EE development, you need to specify the tomcat version yourself; here we do not consider the kind of directly throwing the packaged war into any version of tomcat installed locally. Then start the case of …

Modification of the built-in Tomcat version of the Spring Boot series Read More »

Create a simple timed task scheduling Job in the SpringBoot project

Foreword: This blog mainly explains how to create a simple timer job in the SpringBoot project. First create a timer task scheduling class CalendarScheduleJob : package com.hdyanfa.interact.job; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.util.Date; /** * Calendar event timing tasks **/ @Component public class CalendarScheduleJob { private static …

Create a simple timed task scheduling Job in the SpringBoot project Read More »