This commit is contained in:
2024-07-17 22:51:30 +08:00
commit 9ef5c5a45e
56 changed files with 848 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
## 本模块是 ```存储层 ```
> 对manager和service层可见

33
template/persist/pom.xml Normal file
View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-persist</artifactId>
<version>{{ .version }}</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
<dependency>
<groupId>com.vs</groupId>
<artifactId>vs-sqlmapper-spring</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,4 @@
存放SqlProvider
```
\-- *SqlProvider.java
```

View File

@@ -0,0 +1,4 @@
存放meta
```
\-- *.java
```

View File

@@ -0,0 +1,4 @@
存放Mapper
```
\-- *Mapper.java
```

View File

@@ -0,0 +1,4 @@
存放BaseMapper
```
\-- Base*Mapper.java
```

View File

@@ -0,0 +1,4 @@
存放工具类
```
\-- *Util.java
```

View File

@@ -0,0 +1 @@
> 本模块存放SQL