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

版本升级

上级 1b85c180
......@@ -219,8 +219,23 @@ public class EntityModel extends BaseModel {
return lastModifyField;
}
private FieldModel orgField;
public FieldModel getOrgField() {
if(fields!=null&&orgField==null)
for(FieldModel fieldModel:fields)
if(fieldModel.isOrgField())
{
orgField=fieldModel;
return orgField;
}
return orgField;
}
public boolean isLogicValid()
{
return getDataEntity().isLogicValid();
......
......@@ -186,6 +186,11 @@ public class FieldModel extends BaseModel {
return "CREATEDATE".equals(this.getDataEntityField().getPredefinedType())||"CREATEMAN".equals(this.getDataEntityField().getPredefinedType());
}
public boolean isOrgField()
{
return "ORGID".equals(this.getDataEntityField().getPredefinedType());
}
public boolean isUnionKeyField()
{
return !StringUtils.isEmpty(this.getDataEntityField().getUnionKeyValue());
......
......@@ -2,4 +2,4 @@ spring:
profiles:
include: nacos, {{lowerCase app.codeName}}-prod
application:
name: {{projectName}}-{{lowerCase app.codeName}}
name: {{lowerCase system.codeName}}-{{lowerCase app.codeName}}
......@@ -2,6 +2,6 @@ spring:
profiles:
include: sys , nacos ,{{#each system.apps}} {{lowerCase codeName}}-dev ,{{/each}}{{#each system.apis}} {{lowerCase codeName}}-dev ,{{/each}} dev
application:
name: {{projectName}}
name: {{lowerCase system.codeName}}
main:
allow-bean-definition-overriding: true
\ No newline at end of file
......@@ -2,4 +2,4 @@ spring:
profiles:
include: sys ,nacos, {{lowerCase api.codeName}}-prod
application:
name: {{projectName}}-{{lowerCase api.codeName}}
name: {{lowerCase system.codeName}}-{{lowerCase api.codeName}}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册