1.pom调整
This commit is contained in:
@@ -28,10 +28,7 @@
|
||||
<artifactId>cash-common-tools</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.czg</groupId>
|
||||
<artifactId>cash-common-exception</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -69,7 +69,7 @@ public class Main {
|
||||
//设置表前缀和只生成哪些表,setGenerateTable 未配置时,生成所有表
|
||||
globalConfig.getStrategyConfig()
|
||||
.setTablePrefix("")
|
||||
.setGenerateTable("tb_shop_user");
|
||||
.setGenerateTable("sys_users_roles");
|
||||
|
||||
//设置生成 entity 并启用 Lombok
|
||||
globalConfig.enableEntity()
|
||||
|
||||
Reference in New Issue
Block a user