提交 ac294684 编写于 作者: sq3536's avatar sq3536

basePath

上级 667a40e7
...@@ -60,7 +60,7 @@ public class {{pascalCase dict.codeName}}Dict { ...@@ -60,7 +60,7 @@ public class {{pascalCase dict.codeName}}Dict {
if(tag==null) if(tag==null)
return null; return null;
for (ENUM item : values()) for (ENUM item : values())
if (item.getValue().equals(tag){{#eq dict.valueType "Integer"}}||item.getValue().toString().equals(tag){{/eq}}) if (tag.toString().equals(item.getValue(){{#eq dict.valueType "Integer"}}.toString(){{/eq}}))
return item; return item;
ENUM ret =null; ENUM ret =null;
for (ENUM item : values()) for (ENUM item : values())
......
...@@ -114,6 +114,35 @@ ...@@ -114,6 +114,35 @@
<generateBackupPoms>false</generateBackupPoms> <generateBackupPoms>false</generateBackupPoms>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-generator-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<output>
${basedir}/
</output>
<inputSpec>
${basedir}/{{system.modelFolder}}
</inputSpec>
<templateDirs>
${basedir}/{{projectName}}-provider/src/main/resources/templ
</templateDirs>
<packageName>
${project.groupId}
</packageName>
<name>
${project.artifactId}
</name>
</configuration>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-template-ibizboot</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
...@@ -113,6 +113,35 @@ ...@@ -113,6 +113,35 @@
<generateBackupPoms>false</generateBackupPoms> <generateBackupPoms>false</generateBackupPoms>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-generator-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<output>
${basedir}/
</output>
<inputSpec>
${basedir}/{{system.modelFolder}}
</inputSpec>
<templateDirs>
${basedir}/{{projectName}}-boot/src/main/resources/templ
</templateDirs>
<packageName>
${project.groupId}
</packageName>
<name>
${project.artifactId}
</name>
</configuration>
<dependencies>
<dependency>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-template-ibizedge</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins> </plugins>
</build> </build>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册