Skip to content

Commit

Permalink
17.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FirokOtaku committed Apr 20, 2022
1 parent 1a9f466 commit 029b3dc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>firok.spring</groupId>
<artifactId>mvci</artifactId>
<version>17.2.0</version>
<version>17.3.0</version>
<description>An annotation processing tool to generate MVC code from JavaBean(s).</description>
<dependencies>
<dependency>
Expand Down
4 changes: 4 additions & 0 deletions readme-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ MVCI has only passed testing under **Java17**. It may work in lower version of J

## Changelog

### 17.3.0

* now structures will be generated at correct place

### 17.2.0

* now MVCI would generate some classes store bean information and structure information
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ MVCI 17.x 仅于 **Java17 环境** 下通过测试.

## 变动记录

### 17.3.0

* 现在各种结构会生成于正确包下

### 17.2.0

* 现在 MVCI 将会额外生成数个包含生成数据的信息的类
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/firok/spring/mvci/internal/BeanContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ private void write(String valueKeyLocation, String valueKeyName, String template
private static final Map<String, String> paramController = new HashMap<>();
static
{
paramMapper.put("\\.entity\\.|\\.bean\\.",".mapper.");
paramService.put("\\.entity\\.|\\.bean\\.",".service.");
paramServiceImpl.put("\\.entity\\.|\\.bean\\.",".service_impl.");
paramController.put("\\.entity\\.|\\.bean\\.",".controller.");
paramMapper.put("\\.entity|\\.bean",".mapper");
paramService.put("\\.entity|\\.bean",".service");
paramServiceImpl.put("\\.entity|\\.bean",".service_impl");
paramController.put("\\.entity|\\.bean",".controller");
}

@SneakyThrows
Expand Down

0 comments on commit 029b3dc

Please sign in to comment.