This commit is contained in:
2024-08-22 15:37:56 +08:00
commit 487f201631
55 changed files with 549 additions and 0 deletions

26
template/service/pom.xml Normal file
View File

@@ -0,0 +1,26 @@
<?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 }}-service</artifactId>
<version>{{ .version }}</version>
<dependencies>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
</dependency>
<dependency>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-manager</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1 @@
## 具体业务逻辑层定义包括对api等实现以Servcie为后缀

View File

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

View File

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

View File

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

View File

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

View File

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