提交 d2f8e327 编写于 作者: misaka's avatar misaka

Merge branch 'dev' of http://demo.ibizlab.cn/ibizr7sfstdtempl/ibiz4jr7 into dev

<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#assign isDynaSys =false>
<#if sys.getAllPSSystemModules()??>
<#list sys.getAllPSSystemModules() as module>
<#if module.getDynaInstMode()?? && (module.getDynaInstMode()?c=='1' || module.getDynaInstMode()?c=='2' )>
<#assign isDynaSys =true>
<#break>
</#if>
</#list>
</#if>
<#comment>引入驼峰配置</#comment> <#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude> <#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign hasResetField=false> <#assign hasResetField=false>
...@@ -132,6 +141,12 @@ public class ${item.getCodeName()} extends EntityMP implements Serializable { ...@@ -132,6 +141,12 @@ public class ${item.getCodeName()} extends EntityMP implements Serializable {
<#assign defieldano=defieldano+"dupCheck = DupCheck.ALL" > <#assign defieldano=defieldano+"dupCheck = DupCheck.ALL" >
</#if> </#if>
</#if> </#if>
<#if isDynaSys && defield.isMultiFormDEField?? && defield.isMultiFormDEField()?? && defield.isMultiFormDEField()==true>
<#if defieldano?? && defieldano!='' >
<#assign defieldano = defieldano+", ">
</#if>
<#assign defieldano = defieldano+"dynaInstTagField = true">
</#if>
/** /**
* ${defield.getLogicName()} * ${defield.getLogicName()}
*/ */
...@@ -460,6 +475,13 @@ public class ${item.getCodeName()} extends EntityMongo implements Serializable { ...@@ -460,6 +475,13 @@ public class ${item.getCodeName()} extends EntityMongo implements Serializable {
</#if> </#if>
</#if> </#if>
</#if> </#if>
<#if isDynaSys && defield.isMultiFormDEField?? && defield.isMultiFormDEField()?? && defield.isMultiFormDEField()==true>
<#if defieldano?? && defieldano!='' >
<#assign defieldano = defieldano+", ">
</#if>
<#assign defieldano = defieldano+"dynaInstTagField = true">
</#if>
/** /**
* ${defield.getLogicName()} * ${defield.getLogicName()}
*/ */
...@@ -633,6 +655,12 @@ public class ${item.getCodeName()} extends EntityClient implements Serializable ...@@ -633,6 +655,12 @@ public class ${item.getCodeName()} extends EntityClient implements Serializable
</#if> </#if>
</#if> </#if>
</#if> </#if>
<#if isDynaSys && defield.isMultiFormDEField?? && defield.isMultiFormDEField()?? && defield.isMultiFormDEField()==true>
<#if defieldano?? && defieldano!='' >
<#assign defieldano = defieldano+", ">
</#if>
<#assign defieldano = defieldano+"dynaInstTagField = true">
</#if>
/** /**
* ${defield.getLogicName()} * ${defield.getLogicName()}
*/ */
...@@ -843,6 +871,12 @@ public class ${item.getCodeName()} extends EntityBase implements Serializable { ...@@ -843,6 +871,12 @@ public class ${item.getCodeName()} extends EntityBase implements Serializable {
</#if> </#if>
</#if> </#if>
</#if> </#if>
<#if isDynaSys && defield.isMultiFormDEField?? && defield.isMultiFormDEField()?? && defield.isMultiFormDEField()==true>
<#if defieldano?? && defieldano!='' >
<#assign defieldano = defieldano+", ">
</#if>
<#assign defieldano = defieldano+"dynaInstTagField = true">
</#if>
/** /**
* ${defield.getLogicName()} * ${defield.getLogicName()}
*/ */
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSTEM TARGET=PSSYSTEM
</#ibiztemplate> </#ibiztemplate>
<#assign isDynaSys =false>
<#if sys.getAllPSSystemModules()??>
<#list sys.getAllPSSystemModules() as module>
<#if module.getDynaInstMode()?? && (module.getDynaInstMode()?c=='1' || module.getDynaInstMode()?c=='2' )>
<#assign isDynaSys =true>
<#break>
</#if>
</#list>
</#if>
package ${pub.getPKGCodeName()}.util.annotation; package ${pub.getPKGCodeName()}.util.annotation;
import ${pub.getPKGCodeName()}.util.enums.DEFieldDefaultValueType; import ${pub.getPKGCodeName()}.util.enums.DEFieldDefaultValueType;
...@@ -79,5 +88,11 @@ public @interface DEField ...@@ -79,5 +88,11 @@ public @interface DEField
* 范围属性 * 范围属性
*/ */
String dupCheckField() default ""; String dupCheckField() default "";
<#if isDynaSys>
/**
* 动态实例标记属性
*/
boolean dynaInstTagField() default false;
</#if>
} }
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSTEM TARGET=PSSYSTEM
</#ibiztemplate> </#ibiztemplate>
<#assign isDynaSys =false>
<#if sys.getAllPSSystemModules()??>
<#list sys.getAllPSSystemModules() as module>
<#if module.getDynaInstMode()?? && (module.getDynaInstMode()?c=='1' || module.getDynaInstMode()?c=='2' )>
<#assign isDynaSys =true>
<#break>
</#if>
</#list>
</#if>
package ${pub.getPKGCodeName()}.util.domain; package ${pub.getPKGCodeName()}.util.domain;
import lombok.Data; import lombok.Data;
import org.flowable.bpmn.model.Process; import org.flowable.bpmn.model.Process;
import org.springframework.core.io.Resource;
import org.kie.api.runtime.KieContainer; import org.kie.api.runtime.KieContainer;
import java.io.File; import java.io.File;
import java.io.Serializable; import java.io.Serializable;
...@@ -17,6 +27,6 @@ public class DELogic implements Serializable { ...@@ -17,6 +27,6 @@ public class DELogic implements Serializable {
Process process; Process process;
KieContainer container; KieContainer container;
List<DELogic> refLogic; List<DELogic> refLogic;
List<File> refRuleFiles; List<Resource> refRuleFiles;
String md5; String md5;
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册