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

basePath

上级 667a40e7
......@@ -60,7 +60,7 @@ public class {{pascalCase dict.codeName}}Dict {
if(tag==null)
return null;
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;
ENUM ret =null;
for (ENUM item : values())
......
......@@ -114,6 +114,35 @@
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</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>
</build>
</project>
......@@ -113,6 +113,35 @@
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</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>
</build>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册