init
This commit is contained in:
2
template/persist/README.md
Normal file
2
template/persist/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
## 本模块是 ```存储层 ```
|
||||
> 对manager和service层可见
|
||||
25
template/persist/pom.xml
Normal file
25
template/persist/pom.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,4 @@
|
||||
存放SqlProvider
|
||||
```
|
||||
\-- *SqlProvider.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放meta
|
||||
```
|
||||
\-- *.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放Mapper
|
||||
```
|
||||
\-- *Mapper.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放BaseMapper
|
||||
```
|
||||
\-- Base*Mapper.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放工具类
|
||||
```
|
||||
\-- *Util.java
|
||||
```
|
||||
@@ -0,0 +1 @@
|
||||
> 本模块存放SQL
|
||||
Reference in New Issue
Block a user