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

sysCodeName

上级 8f5b0b93
...@@ -30,6 +30,7 @@ public class SystemModel extends BaseModel { ...@@ -30,6 +30,7 @@ public class SystemModel extends BaseModel {
if (this.pub == null) if (this.pub == null)
this.pub = system.getDefaultPSSysSFPub(); this.pub = system.getDefaultPSSysSFPub();
} }
this.setSysCodeName(system.getCodeName());
if (this.pub != null) { if (this.pub != null) {
this.setCodeName(this.pub.getCodeName()); this.setCodeName(this.pub.getCodeName());
this.setName(system.getName()); this.setName(system.getName());
...@@ -67,6 +68,8 @@ public class SystemModel extends BaseModel { ...@@ -67,6 +68,8 @@ public class SystemModel extends BaseModel {
private String modelFolderPath; private String modelFolderPath;
private String sysCodeName;
private String memo; private String memo;
private String deploySysId; private String deploySysId;
......
...@@ -30,7 +30,7 @@ public class WorkflowModel extends BaseModel{ ...@@ -30,7 +30,7 @@ public class WorkflowModel extends BaseModel{
this.psWorkflow=psWorkflow; this.psWorkflow=psWorkflow;
this.setCodeName(ver.getCodeName()); this.setCodeName(ver.getCodeName());
this.setName(ver.getName()); this.setName(ver.getName());
this.setId(String.format("%1$s-%2$s",system.getCodeName().toLowerCase(),ver.getCodeName().toLowerCase())); this.setId(String.format("%1$s-%2$s",system.getSysCodeName().toLowerCase(),ver.getCodeName().toLowerCase()));
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册