diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..6c094e1
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..7ef773d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo.iml b/demo.iml
new file mode 100644
index 0000000..9bb5a0c
--- /dev/null
+++ b/demo.iml
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/demo.iml b/demo/demo.iml
new file mode 100644
index 0000000..fbf21b8
--- /dev/null
+++ b/demo/demo.iml
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..edff252
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,91 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.7.14
+
+
+ com.example
+ demo
+ 0.0.1-SNAPSHOT
+ demo
+ Demo project for Spring Boot
+
+ 1.8
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.quartz-scheduler
+ quartz
+ 2.3.2
+
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+ org.projectlombok
+ lombok
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+ org.mybatis
+ mybatis
+ 3.5.9
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.2.2
+
+
+
+ org.postgresql
+ postgresql
+ runtime
+
+
+ io.netty
+ netty-all
+ 4.1.97.Final
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.7.14
+
+
+
+ org.projectlombok
+ lombok
+
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/example/demo/Controller/MyJob.java b/src/main/java/com/example/demo/Controller/MyJob.java
new file mode 100644
index 0000000..a5b1a7f
--- /dev/null
+++ b/src/main/java/com/example/demo/Controller/MyJob.java
@@ -0,0 +1,14 @@
+package com.example.demo.Controller;
+
+import org.quartz.Job;
+import org.quartz.JobExecutionContext;
+import org.quartz.JobExecutionException;
+import org.springframework.boot.autoconfigure.batch.BatchProperties;
+
+public class MyJob implements Job {
+ @Override
+ public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
+ System.out.println("任务执行");
+ //存在暂存区
+ }
+}
diff --git a/src/main/java/com/example/demo/Controller/SE.java b/src/main/java/com/example/demo/Controller/SE.java
new file mode 100644
index 0000000..60edc94
--- /dev/null
+++ b/src/main/java/com/example/demo/Controller/SE.java
@@ -0,0 +1,23 @@
+package com.example.demo.Controller;
+
+import org.quartz.*;
+import org.quartz.impl.StdSchedulerFactory;
+
+public class SE {
+ public static void main(String[] args) throws SchedulerException {
+ JobDetail jobDetail = JobBuilder.newJob(MyJob.class)
+ .withIdentity("myjob","group1")
+ .build();
+
+ Trigger trigger = TriggerBuilder.newTrigger()
+ .withIdentity("mytrigger","group1")
+ .withSchedule(CronScheduleBuilder.cronSchedule("0 */70 * ? *"))
+ .build();
+
+ Scheduler scheduler = new StdSchedulerFactory().getScheduler();
+
+ scheduler.scheduleJob(jobDetail, trigger);
+
+ scheduler.start();
+ }
+}
diff --git a/src/main/java/com/example/demo/Controller/Task.java b/src/main/java/com/example/demo/Controller/Task.java
new file mode 100644
index 0000000..ba37a04
--- /dev/null
+++ b/src/main/java/com/example/demo/Controller/Task.java
@@ -0,0 +1,82 @@
+package com.example.demo.Controller;
+
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.stereotype.Component;
+
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+import java.util.Map;
+import java.math.*;
+
+/**
+ * 定时任务的使用
+ * @author
+ **/
+@Component
+public class Task {
+ @Scheduled(cron = "20 2/7 * * * ?") //每5秒执行一次
+ public void execute1() {
+ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); //设置日期格式
+ System.out.println(df.format(new Date()));
+ }
+ @Scheduled(cron = "40 4/7 * * * ?") //每5秒执行一次
+ public void execute2() {
+ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); //设置日期格式
+ System.out.println(df.format(new Date()));
+ }
+ @Scheduled(cron = "0 7/7 * * * ?") //每5秒执行一次
+ public void execute3() {
+ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); //设置日期格式
+ System.out.println(df.format(new Date()));
+ }
+
+ public static void main(String[] args) {
+ List test1 = test(250);
+ int count = test1.size();
+ for(int i = 0;i < count;i++){
+ System.out.println(test1.get(i));
+ }
+ long a = 23L, b = 24L;
+ long c = a/b;
+ System.out.println(test1.toString());
+ }
+
+ public static List test(int freq){
+ List res = new ArrayList<>();
+ String cron = "";
+ //java找最小公倍数的函数
+ if(freq < 60){
+ cron = freq +" * * * * ?";
+ }
+ int gcd = gcd(freq,60);// 140
+ int lcm = freq * 60 / gcd;//
+ int count = lcm / freq;
+ int last =lcm / 60;
+ int accumulate = 0, before = 0;
+ for(int i = 1;i <= count;i++){
+ before += (accumulate + freq) / 60;
+ accumulate = (accumulate + freq) % 60;
+ cron = "0 " + accumulate + " " + before + "/" + last + " * * ?";
+ res.add(cron);
+ System.out.println(cron);
+ }
+ return res;
+ }
+
+ public static int gcd(int x,int y){
+ if(x < y){
+ int temp = x;
+ x = y;
+ y = temp;
+ }
+ int rem = -1;
+ while( x % y != 0){
+ rem = x % y;
+ x = y;
+ y = rem;
+ }
+ return y;
+ }
+}
diff --git a/src/main/java/com/example/demo/Controller/ZyUserController.java b/src/main/java/com/example/demo/Controller/ZyUserController.java
new file mode 100644
index 0000000..168f201
--- /dev/null
+++ b/src/main/java/com/example/demo/Controller/ZyUserController.java
@@ -0,0 +1,18 @@
+package com.example.demo.Controller;
+
+import com.example.demo.Dao.ZyUserDao;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+public class ZyUserController {
+ @Autowired
+ private ZyUserDao zyUserDao;
+
+ @RequestMapping("/all")
+ public String getAllUsers(){
+ return zyUserDao.selectByPrimaryKey("1").toString();
+ }
+}
diff --git a/src/main/java/com/example/demo/Controller/hello.java b/src/main/java/com/example/demo/Controller/hello.java
new file mode 100644
index 0000000..403ee05
--- /dev/null
+++ b/src/main/java/com/example/demo/Controller/hello.java
@@ -0,0 +1,19 @@
+package com.example.demo.Controller;
+
+import com.example.demo.Entity.Person;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+public class hello {
+ @Autowired
+ Person person;
+ @RequestMapping("/person")
+ public Person person(){
+ return person;
+ }
+
+ public String a;
+ //注释
+}
diff --git a/src/main/java/com/example/demo/Dao/ZyUserDao.java b/src/main/java/com/example/demo/Dao/ZyUserDao.java
new file mode 100644
index 0000000..9b027c0
--- /dev/null
+++ b/src/main/java/com/example/demo/Dao/ZyUserDao.java
@@ -0,0 +1,17 @@
+package com.example.demo.Dao;
+
+import com.example.demo.Entity.ZyUser;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+
+@Mapper
+public interface ZyUserDao {
+
+ List getAllUsers();
+ ZyUser selectByPrimaryKey(@Param("id") String id);
+
+}
diff --git a/src/main/java/com/example/demo/DemoApplication.java b/src/main/java/com/example/demo/DemoApplication.java
new file mode 100644
index 0000000..c7e65f2
--- /dev/null
+++ b/src/main/java/com/example/demo/DemoApplication.java
@@ -0,0 +1,21 @@
+package com.example.demo;
+
+import com.example.demo.Entity.Person;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.ConfigurableApplicationContext;
+import org.springframework.scheduling.annotation.EnableScheduling;
+
+@SpringBootApplication
+@EnableScheduling //开启定时任务
+public class DemoApplication {
+ public static void main(String[] args) {
+
+ ConfigurableApplicationContext run = SpringApplication.run(DemoApplication.class, args);
+ System.out.println(run.getBeanDefinitionCount());
+
+ System.out.println();
+
+ }
+
+}
diff --git a/src/main/java/com/example/demo/Entity/Person.java b/src/main/java/com/example/demo/Entity/Person.java
new file mode 100644
index 0000000..5ab2541
--- /dev/null
+++ b/src/main/java/com/example/demo/Entity/Person.java
@@ -0,0 +1,30 @@
+package com.example.demo.Entity;
+
+import lombok.Data;
+import lombok.ToString;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.stereotype.Component;
+
+import java.util.Date;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+@ToString
+@Data
+@Component
+@ConfigurationProperties(prefix = "person")
+public class Person {
+ private String name;
+ private int age;
+ private Date birth;
+ private Pet pet;
+ private String[] interets;
+ private List animals;
+ private Map score;
+ private Set salary;
+// private Map> allPet;
+
+
+}
diff --git a/src/main/java/com/example/demo/Entity/Pet.java b/src/main/java/com/example/demo/Entity/Pet.java
new file mode 100644
index 0000000..cb4e9f0
--- /dev/null
+++ b/src/main/java/com/example/demo/Entity/Pet.java
@@ -0,0 +1,11 @@
+package com.example.demo.Entity;
+
+import lombok.Data;
+import lombok.ToString;
+
+@ToString
+@Data
+public class Pet {
+ private String name;
+ private int age;
+}
diff --git a/src/main/java/com/example/demo/Entity/ZyUser.java b/src/main/java/com/example/demo/Entity/ZyUser.java
new file mode 100644
index 0000000..9a5778d
--- /dev/null
+++ b/src/main/java/com/example/demo/Entity/ZyUser.java
@@ -0,0 +1,10 @@
+package com.example.demo.Entity;
+
+import lombok.Data;
+
+@Data
+public class ZyUser {
+ private String zid;
+ private String zname;
+ private String zpwd;
+}
diff --git a/src/main/java/com/example/demo/Service/HexToCharArray.java b/src/main/java/com/example/demo/Service/HexToCharArray.java
new file mode 100644
index 0000000..a51f1f9
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/HexToCharArray.java
@@ -0,0 +1,57 @@
+package com.example.demo.Service;
+
+import java.nio.ByteBuffer;
+
+public class HexToCharArray {
+ public static void main(String[] args) {
+// // 示例16进制字符串的ByteBuffer
+// ByteBuffer buffer = ByteBuffer.wrap(new byte[]{0x4A, 0x6B, 0x4C, 0x6D});
+//
+// // 将 ByteBuffer 转换为字符数组
+// char[] charArray = byteBufferToCharArray(buffer);
+//
+// // 打印字符数组
+// System.out.println(charArray);
+
+ String hexString = "4A6B4C6D";
+
+ // 将16进制字符串转换为字符数组
+ char[] charArray = hexStringToCharArray(hexString);
+
+ // 打印字符数组
+ System.out.println(charArray);
+ }
+
+ public static char[] byteBufferToCharArray(ByteBuffer buffer) {
+ // 确保读取时从开头开始
+ buffer.rewind();
+
+ // 创建字符数组,每个字节转换为一个字符
+ char[] charArray = new char[buffer.remaining()];
+
+ for (int i = 0; i < charArray.length; i++) {
+ // 逐字节读取并转换为字符
+ charArray[i] = (char) buffer.get();
+ }
+
+ return charArray;
+ }
+ public static char[] hexStringToCharArray(String hexString) {
+ // 每两个十六进制字符表示一个字节,所以字符数组的长度为十六进制字符串长度的一半
+ int length = hexString.length() / 2;
+ char[] charArray = new char[length];
+
+ for (int i = 0; i < length; i++) {
+ // 取出两个十六进制字符并解析为一个字节
+ String hexPair = hexString.substring(2 * i, 2 * i + 2);
+ int byteValue = Integer.parseInt(hexPair, 16);
+
+ // 转换为字符并存入数组
+ charArray[i] = (char) byteValue;
+ }
+
+ return charArray;
+ }
+
+
+}
diff --git a/src/main/java/com/example/demo/Service/TestService.java b/src/main/java/com/example/demo/Service/TestService.java
new file mode 100644
index 0000000..950cc9a
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/TestService.java
@@ -0,0 +1,2 @@
+package com.example.demo.Service;public interface TestService {
+}
diff --git a/src/main/java/com/example/demo/Service/TestServiceImpl.java b/src/main/java/com/example/demo/Service/TestServiceImpl.java
new file mode 100644
index 0000000..f710cbf
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/TestServiceImpl.java
@@ -0,0 +1,2 @@
+package com.example.demo.Service;public class TestServiceImpl {
+}
diff --git a/src/main/java/com/example/demo/Service/nettyClient.java b/src/main/java/com/example/demo/Service/nettyClient.java
new file mode 100644
index 0000000..cb88d7b
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/nettyClient.java
@@ -0,0 +1,54 @@
+package com.example.demo.Service;
+
+import io.netty.bootstrap.Bootstrap;
+import io.netty.channel.Channel;
+import io.netty.channel.ChannelInitializer;
+import io.netty.channel.ChannelOption;
+import io.netty.channel.EventLoopGroup;
+import io.netty.channel.nio.NioEventLoopGroup;
+import io.netty.channel.socket.SocketChannel;
+import io.netty.channel.socket.nio.NioSocketChannel;
+import org.springframework.stereotype.Component;
+
+@Component
+public class nettyClient {
+
+ private final String host = "localhost"; // 目标服务器地址
+ private final int port = 8081; // 目标服务器端口
+
+ public void start() throws InterruptedException {
+ // 1. 创建 EventLoopGroup 用于管理客户端的 NIO 线程
+ EventLoopGroup group = new NioEventLoopGroup();
+
+ try {
+ // 2. Bootstrap 用于创建客户端
+ Bootstrap bootstrap = new Bootstrap();
+ bootstrap.group(group) // 指定线程组
+ .channel(NioSocketChannel.class) // 指定使用 NIO 传输的Channel
+ .option(ChannelOption.SO_KEEPALIVE, true) // 保持长连接
+ .handler(new ChannelInitializer() {
+ @Override
+ protected void initChannel(SocketChannel ch) {
+ // 3. 配置客户端的 ChannelHandler
+ ch.pipeline().addLast(new nettyClientHandler());
+ }
+ });
+
+ // 4. 连接服务器
+ Channel channel = bootstrap.connect(host, port).sync().channel();
+
+ // 5. 向服务器发送消息
+ channel.writeAndFlush("Hello, Netty Server!");
+
+ // 6. 等待连接关闭
+ channel.closeFuture().sync();
+ } finally {
+ // 7. 关闭线程组
+ group.shutdownGracefully();
+ }
+ }
+
+ public static void main(String[] args) throws InterruptedException {
+ new nettyClient().start();
+ }
+}
diff --git a/src/main/java/com/example/demo/Service/nettyClientHandler.java b/src/main/java/com/example/demo/Service/nettyClientHandler.java
new file mode 100644
index 0000000..a809f5e
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/nettyClientHandler.java
@@ -0,0 +1,23 @@
+package com.example.demo.Service;
+
+
+
+
+import io.netty.channel.ChannelHandlerContext;
+ import io.netty.channel.ChannelInboundHandlerAdapter;
+
+public class nettyClientHandler extends ChannelInboundHandlerAdapter {
+
+ @Override
+ public void channelRead(ChannelHandlerContext ctx, Object msg) {
+ // 处理服务器的响应
+ System.out.println("Received message from server: " + msg);
+ }
+
+ @Override
+ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
+ // 处理异常
+ cause.printStackTrace();
+ ctx.close();
+ }
+}
diff --git a/src/main/java/com/example/demo/Service/nettyServer.java b/src/main/java/com/example/demo/Service/nettyServer.java
new file mode 100644
index 0000000..982806a
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/nettyServer.java
@@ -0,0 +1,51 @@
+package com.example.demo.Service;
+
+
+import io.netty.bootstrap.ServerBootstrap;
+import io.netty.channel.ChannelFuture;
+import io.netty.channel.ChannelInitializer;
+import io.netty.channel.ChannelPipeline;
+import io.netty.channel.EventLoopGroup;
+import io.netty.channel.nio.NioEventLoopGroup;
+import io.netty.channel.socket.SocketChannel;
+import io.netty.channel.socket.nio.NioServerSocketChannel;
+import io.netty.handler.codec.string.StringDecoder;
+import io.netty.handler.codec.string.StringEncoder;
+
+public class nettyServer {
+ private final int port;
+
+ public nettyServer(int port) {
+ this.port = port;
+ }
+
+ public void start() throws InterruptedException {
+ EventLoopGroup bossGroup = new NioEventLoopGroup();
+ EventLoopGroup workerGroup = new NioEventLoopGroup();
+ try {
+ ServerBootstrap b = new ServerBootstrap();
+ b.group(bossGroup, workerGroup)
+ .channel(NioServerSocketChannel.class)
+ .childHandler(new ChannelInitializer() {
+ @Override
+ public void initChannel(SocketChannel ch) {
+ ChannelPipeline p = ch.pipeline();
+ p.addLast(new StringDecoder());
+ p.addLast(new StringEncoder());
+ p.addLast(new nettyServerHandler());
+ }
+ });
+
+ ChannelFuture f = b.bind(port).sync();
+ System.out.println("Netty server started on port " + port);
+ f.channel().closeFuture().sync();
+ } finally {
+ bossGroup.shutdownGracefully();
+ workerGroup.shutdownGracefully();
+ }
+ }
+
+ public static void main(String[] args) throws InterruptedException {
+ new nettyServer(8081).start();
+ }
+}
diff --git a/src/main/java/com/example/demo/Service/nettyServerHandler.java b/src/main/java/com/example/demo/Service/nettyServerHandler.java
new file mode 100644
index 0000000..6d93bc5
--- /dev/null
+++ b/src/main/java/com/example/demo/Service/nettyServerHandler.java
@@ -0,0 +1,18 @@
+package com.example.demo.Service;
+
+import io.netty.channel.ChannelHandlerContext;
+import io.netty.channel.ChannelInboundHandlerAdapter;
+
+public class nettyServerHandler extends ChannelInboundHandlerAdapter {
+ @Override
+ public void channelRead(ChannelHandlerContext ctx, Object msg) {
+ System.out.println("Received message: " + msg);
+ ctx.writeAndFlush("Hello from Netty Server!\n");
+ }
+
+ @Override
+ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
+ cause.printStackTrace();
+ ctx.close();
+ }
+}
diff --git a/src/main/java/com/example/demo/config/RedisConfig.java b/src/main/java/com/example/demo/config/RedisConfig.java
new file mode 100644
index 0000000..1478737
--- /dev/null
+++ b/src/main/java/com/example/demo/config/RedisConfig.java
@@ -0,0 +1,2 @@
+package com.example.demo.config;public class RedisConfig {
+}
diff --git a/src/main/java/com/example/demo/utils/LatLonUtil.java b/src/main/java/com/example/demo/utils/LatLonUtil.java
new file mode 100644
index 0000000..ad28540
--- /dev/null
+++ b/src/main/java/com/example/demo/utils/LatLonUtil.java
@@ -0,0 +1,2 @@
+package com.example.demo.utils;public class LatLonUtil {
+}
diff --git a/src/main/java/com/example/demo/utils/TimeUtil.java b/src/main/java/com/example/demo/utils/TimeUtil.java
new file mode 100644
index 0000000..1f6c2da
--- /dev/null
+++ b/src/main/java/com/example/demo/utils/TimeUtil.java
@@ -0,0 +1,2 @@
+package com.example.demo.utils;public class TimeUtil {
+}
diff --git a/src/main/java/com/example/demo/utils/testMap.java b/src/main/java/com/example/demo/utils/testMap.java
new file mode 100644
index 0000000..5f21a05
--- /dev/null
+++ b/src/main/java/com/example/demo/utils/testMap.java
@@ -0,0 +1,2 @@
+package com.example.demo.utils;public class testMap {
+}
diff --git a/src/main/java/com/example/demo/utils/testThreadPool.java b/src/main/java/com/example/demo/utils/testThreadPool.java
new file mode 100644
index 0000000..c13e670
--- /dev/null
+++ b/src/main/java/com/example/demo/utils/testThreadPool.java
@@ -0,0 +1,2 @@
+package com.example.demo.utils;public class testThreadPool {
+}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..c1131e3
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,16 @@
+#spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
+#spring.datasource.url=jdbc:mysql://117.50.194.112:3306/zhangzichun?useUnicode=true&useSSL=false&serverTimezone=GMT&characterEncoding=UTF-8
+#spring.datasource.username=ot
+#spring.datasource.password=xulovezhang
+#spring.jpa.show-sql=true
+#spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
+
+
+spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
+spring.datasource.username=postgres
+spring.datasource.password=postgres
+
+spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
+
+#??mapper xml???
+mybatis-plus.mapper-locations=classpath:mappers/*.xml
diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml
new file mode 100644
index 0000000..f431a9c
--- /dev/null
+++ b/src/main/resources/application.yaml
@@ -0,0 +1,23 @@
+#person:
+# name: 花花
+# age: 2
+# birth: 2010/10/10
+# pet:
+# name: dd
+# age: 1
+# interets:
+# - 读书
+# - 看报
+# - 学习
+# animals: {猫, 狗, 鸟}
+# score:
+# chin: 90
+# math: 100
+# salary: [100.99,200.99,300.99]
+spring:
+ mvc:
+ static-path-pattern: /res/**
+
+
+ resources:
+ static-locations: [classpath:/sta/]
diff --git a/src/main/resources/mappers/ZyUserDao.xml b/src/main/resources/mappers/ZyUserDao.xml
new file mode 100644
index 0000000..37def2f
--- /dev/null
+++ b/src/main/resources/mappers/ZyUserDao.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ zid, zname, zpwd
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/mybatis-config.xml b/src/main/resources/mybatis-config.xml
new file mode 100644
index 0000000..e69de29
diff --git a/src/main/resources/sta/a.jpg b/src/main/resources/sta/a.jpg
new file mode 100644
index 0000000..25614f3
Binary files /dev/null and b/src/main/resources/sta/a.jpg differ
diff --git a/src/test/java/com/example/demo/DemoApplicationTests.java b/src/test/java/com/example/demo/DemoApplicationTests.java
new file mode 100644
index 0000000..2778a6a
--- /dev/null
+++ b/src/test/java/com/example/demo/DemoApplicationTests.java
@@ -0,0 +1,13 @@
+package com.example.demo;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class DemoApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/target/classes/META-INF/spring-configuration-metadata.json b/target/classes/META-INF/spring-configuration-metadata.json
new file mode 100644
index 0000000..932b24b
--- /dev/null
+++ b/target/classes/META-INF/spring-configuration-metadata.json
@@ -0,0 +1,52 @@
+{
+ "groups": [
+ {
+ "name": "person",
+ "type": "com.example.demo.Entity.Person",
+ "sourceType": "com.example.demo.Entity.Person"
+ }
+ ],
+ "properties": [
+ {
+ "name": "person.age",
+ "type": "java.lang.Integer",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.animals",
+ "type": "java.util.List",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.birth",
+ "type": "java.util.Date",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.interets",
+ "type": "java.lang.String[]",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.name",
+ "type": "java.lang.String",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.pet",
+ "type": "com.example.demo.Entity.Pet",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.salary",
+ "type": "java.util.Set",
+ "sourceType": "com.example.demo.Entity.Person"
+ },
+ {
+ "name": "person.score",
+ "type": "java.util.Map",
+ "sourceType": "com.example.demo.Entity.Person"
+ }
+ ],
+ "hints": []
+}
\ No newline at end of file
diff --git a/target/classes/application.properties b/target/classes/application.properties
new file mode 100644
index 0000000..c1131e3
--- /dev/null
+++ b/target/classes/application.properties
@@ -0,0 +1,16 @@
+#spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
+#spring.datasource.url=jdbc:mysql://117.50.194.112:3306/zhangzichun?useUnicode=true&useSSL=false&serverTimezone=GMT&characterEncoding=UTF-8
+#spring.datasource.username=ot
+#spring.datasource.password=xulovezhang
+#spring.jpa.show-sql=true
+#spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
+
+
+spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
+spring.datasource.username=postgres
+spring.datasource.password=postgres
+
+spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
+
+#??mapper xml???
+mybatis-plus.mapper-locations=classpath:mappers/*.xml
diff --git a/target/classes/application.yaml b/target/classes/application.yaml
new file mode 100644
index 0000000..f431a9c
--- /dev/null
+++ b/target/classes/application.yaml
@@ -0,0 +1,23 @@
+#person:
+# name: 花花
+# age: 2
+# birth: 2010/10/10
+# pet:
+# name: dd
+# age: 1
+# interets:
+# - 读书
+# - 看报
+# - 学习
+# animals: {猫, 狗, 鸟}
+# score:
+# chin: 90
+# math: 100
+# salary: [100.99,200.99,300.99]
+spring:
+ mvc:
+ static-path-pattern: /res/**
+
+
+ resources:
+ static-locations: [classpath:/sta/]
diff --git a/target/classes/mappers/ZyUserDao.xml b/target/classes/mappers/ZyUserDao.xml
new file mode 100644
index 0000000..37def2f
--- /dev/null
+++ b/target/classes/mappers/ZyUserDao.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ zid, zname, zpwd
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/target/classes/mybatis-config.xml b/target/classes/mybatis-config.xml
new file mode 100644
index 0000000..e69de29
diff --git a/target/classes/sta/a.jpg b/target/classes/sta/a.jpg
new file mode 100644
index 0000000..25614f3
Binary files /dev/null and b/target/classes/sta/a.jpg differ