提交 55ca25af 编写于 作者: tangyaolong's avatar tangyaolong

驼峰配置代码简化

上级 1b8b4e40
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign hasResetField=false> <#assign hasResetField=false>
package ${pub.getPKGCodeName()}.core.${item.getPSSystemModule().getCodeName()?lower_case}.domain; package ${pub.getPKGCodeName()}.core.${item.getPSSystemModule().getCodeName()?lower_case}.domain;
...@@ -1012,16 +1014,4 @@ public class ${item.getCodeName()} extends EntityBase implements Serializable { ...@@ -1012,16 +1014,4 @@ public class ${item.getCodeName()} extends EntityBase implements Serializable {
</#list> </#list>
<#assign unionKeyResult="if("+formatValue+")"> <#assign unionKeyResult="if("+formatValue+")">
<#return unionKeyResult> <#return unionKeyResult>
</#function> </#function>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if de.getStorageMode()==1> <#if de.getStorageMode()==1>
package ${pub.getPKGCodeName()}.core.${item.getPSSystemModule().codeName?lower_case}.mapper; package ${pub.getPKGCodeName()}.core.${item.getPSSystemModule().codeName?lower_case}.mapper;
...@@ -115,16 +117,4 @@ public interface ${item.getCodeName()}Mapper extends BaseMapper<${item.getCodeNa ...@@ -115,16 +117,4 @@ public interface ${item.getCodeName()}Mapper extends BaseMapper<${item.getCodeNa
</#list> </#list>
</#if> </#if>
} }
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDEDATAIMP TARGET=PSDEDATAIMP
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
package ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().codeName?lower_case}.mapping; package ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().codeName?lower_case}.mapping;
import ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().codeName?lower_case}.domain.${de.codeName}; import ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().codeName?lower_case}.domain.${de.codeName};
...@@ -25,16 +27,4 @@ public interface ${de.codeName}${item.codeName} { ...@@ -25,16 +27,4 @@ public interface ${de.codeName}${item.codeName} {
${de.codeName} toDomain(${de.codeName} entity); ${de.codeName} toDomain(${de.codeName} entity);
List<${de.codeName}> toDomain(List<${de.codeName}> entities); List<${de.codeName}> toDomain(List<${de.codeName}> entities);
} }
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#comment>索引从实体</#comment> <#comment>索引从实体</#comment>
<#assign isIndexSubDE=false> <#assign isIndexSubDE=false>
<#if de.getMinorPSDERs()??> <#if de.getMinorPSDERs()??>
...@@ -89,16 +91,4 @@ public interface ${de.codeName}InheritMapping { ...@@ -89,16 +91,4 @@ public interface ${de.codeName}InheritMapping {
} }
</#if> </#if>
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign deCodeNameCamel = srfr7templcaseformat(de.codeName)?cap_first> <#assign deCodeNameCamel = srfr7templcaseformat(de.codeName)?cap_first>
<#comment>实体是否配置预置属性</#comment> <#comment>实体是否配置预置属性</#comment>
<#assign hasDEPrefield=false> <#assign hasDEPrefield=false>
...@@ -274,16 +276,4 @@ public interface I${item.codeName}Service { ...@@ -274,16 +276,4 @@ public interface I${item.codeName}Service {
</#if> </#if>
</#macro> </#macro>
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign deCodeNameCamel = srfr7templcaseformat(de.codeName)?cap_first> <#assign deCodeNameCamel = srfr7templcaseformat(de.codeName)?cap_first>
<#comment>实体是否配置预置属性</#comment> <#comment>实体是否配置预置属性</#comment>
<#assign hasDEPrefield=false> <#assign hasDEPrefield=false>
...@@ -3299,16 +3301,4 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -3299,16 +3301,4 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
</#if> </#if>
</#macro> </#macro>
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if de.getUserTag()?? && de.getUserTag()=='elasticsearch'> <#if de.getUserTag()?? && de.getUserTag()=='elasticsearch'>
package ${pub.getPKGCodeName()}.core.es.domain; package ${pub.getPKGCodeName()}.core.es.domain;
...@@ -45,19 +47,4 @@ public class ${item.codeName} implements Serializable { ...@@ -45,19 +47,4 @@ public class ${item.codeName} implements Serializable {
</#list> </#list>
</#if> </#if>
} }
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if de.getUserTag()?? && de.getUserTag()=='elasticsearch'> <#if de.getUserTag()?? && de.getUserTag()=='elasticsearch'>
package ${pub.getPKGCodeName()}.core.es.service.impl; package ${pub.getPKGCodeName()}.core.es.service.impl;
...@@ -110,16 +112,4 @@ public class ${item.getCodeName()}ESServiceImpl implements I${de.getCodeName()}E ...@@ -110,16 +112,4 @@ public class ${item.getCodeName()}ESServiceImpl implements I${de.getCodeName()}E
</#list> </#list>
</#if> </#if>
} }
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSTEM TARGET=PSSYSTEM
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign hasMQConsumer=false> <#assign hasMQConsumer=false>
<#comment>实体中配置输入数据同步</#comment> <#comment>实体中配置输入数据同步</#comment>
<#list sys.getAllPSDataEntities() as dataEntity> <#list sys.getAllPSDataEntities() as dataEntity>
...@@ -119,16 +121,4 @@ public class RocketMQListenerProcessor implements MessageListenerOrderly { ...@@ -119,16 +121,4 @@ public class RocketMQListenerProcessor implements MessageListenerOrderly {
return ConsumeOrderlyStatus.SUCCESS; return ConsumeOrderlyStatus.SUCCESS;
} }
} }
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSBACKSERVICE TARGET=PSSYSBACKSERVICE
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
package ${pub.getPKGCodeName()}.core.util.job; package ${pub.getPKGCodeName()}.core.util.job;
import com.baomidou.jobs.api.JobsResponse; import com.baomidou.jobs.api.JobsResponse;
...@@ -38,17 +40,4 @@ public class ${item.codeName}JobHandler implements IJobsHandler { ...@@ -38,17 +40,4 @@ public class ${item.codeName}JobHandler implements IJobsHandler {
log.info("执行 DemoJobHandler tenantId=" + tenantId + ",param=" + param); log.info("执行 DemoJobHandler tenantId=" + tenantId + ",param=" + param);
return JobsResponse.ok(); return JobsResponse.ok();
} }
} }
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDATAENTITY TARGET=PSDATAENTITY
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if de.getStorageMode()==1> <#if de.getStorageMode()==1>
<#if de.getAllPSDEDataSets()??> <#if de.getAllPSDEDataSets()??>
<#assign resultSet=de.getAllPSDEDataSets()> <#assign resultSet=de.getAllPSDEDataSets()>
...@@ -306,16 +309,4 @@ TARGET=PSDATAENTITY ...@@ -306,16 +309,4 @@ TARGET=PSDATAENTITY
<#comment>输出数据集分组</#comment> <#comment>输出数据集分组</#comment>
<#macro outputGroup singleSet> <#macro outputGroup singleSet>
<#list singleSet.getPSDEDataSetGroupParams() as groupParam><#if groupParam_index gt 0>,</#if><#if groupParam.isEnableGroup()><#if groupParam.getGroupCode()??>${groupParam.getGroupCode()}<#else>${groupParam.getName()}</#if><#else>${groupParam.getGroupCode()}</#if> as "${groupParam.getName()?lower_case}"</#list> <#list singleSet.getPSDEDataSetGroupParams() as groupParam><#if groupParam_index gt 0>,</#if><#if groupParam.isEnableGroup()><#if groupParam.getGroupCode()??>${groupParam.getGroupCode()}<#else>${groupParam.getName()}</#if><#else>${groupParam.getGroupCode()}</#if> as "${groupParam.getName()?lower_case}"</#list>
</#macro> </#macro>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDELOGIC TARGET=PSDELOGIC
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if item.isEnableBackend()> <#if item.isEnableBackend()>
package ${pub.getPKGCodeName()}.${de.getPSSystemModule().codeName?lower_case}.logic.${de.codeName?lower_case}logic.${item.getCodeName()?lower_case}; package ${pub.getPKGCodeName()}.${de.getPSSystemModule().codeName?lower_case}.logic.${de.codeName?lower_case}logic.${item.getCodeName()?lower_case};
<#comment>是否包含启动工作流节点</#comment> <#comment>是否包含启动工作流节点</#comment>
...@@ -251,16 +253,4 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}" ...@@ -251,16 +253,4 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}"
<#assign sql=sql?replace("?","#"+"{et.param"+nodeParam_index+"}","f")> <#assign sql=sql?replace("?","#"+"{et.param"+nodeParam_index+"}","f")>
</#list> </#list>
String strSql="${sql}"; String strSql="${sql}";
</#macro> </#macro>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDELOGIC TARGET=PSDELOGIC
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if item.isEnableBackend()> <#if item.isEnableBackend()>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.jboss.org/drools" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.mvel.org/2.0" id="Definition" name="" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes"> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.jboss.org/drools" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.mvel.org/2.0" id="Definition" name="" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
...@@ -175,16 +177,4 @@ TARGET=PSDELOGIC ...@@ -175,16 +177,4 @@ TARGET=PSDELOGIC
<#assign expressionCond=expressionCond+condBody > <#assign expressionCond=expressionCond+condBody >
</#list> </#list>
<#return expressionCond/> <#return expressionCond/>
</#function> </#function>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDEACTION TARGET=PSDEACTION
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign hasAfterLogic =false> <#assign hasAfterLogic =false>
<#assign hasAfterDrl=false> <#assign hasAfterDrl=false>
<#assign de=item.getPSDataEntity()> <#assign de=item.getPSDataEntity()>
...@@ -69,16 +71,4 @@ TARGET=PSDEACTION ...@@ -69,16 +71,4 @@ TARGET=PSDEACTION
</#if> </#if>
</process> </process>
</definitions> </definitions>
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDEACTION TARGET=PSDEACTION
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#comment>实体行为调用实体行为</#comment> <#comment>实体行为调用实体行为</#comment>
<#assign hasAfterLogic =false> <#assign hasAfterLogic =false>
<#assign de=item.getPSDataEntity()> <#assign de=item.getPSDataEntity()>
...@@ -94,16 +96,4 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower ...@@ -94,16 +96,4 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower
<#assign publicCodeName = privateCodeName?cap_first > <#assign publicCodeName = privateCodeName?cap_first >
${srfr7templcaseformat(actionLogicDE.getCodeName())}Service.remove(et.get${publicCodeName}()); ${srfr7templcaseformat(actionLogicDE.getCodeName())}Service.remove(et.get${publicCodeName}());
</#if> </#if>
</#macro> </#macro>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDEACTION TARGET=PSDEACTION
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#assign hasBeforeLogic =false> <#assign hasBeforeLogic =false>
<#assign hasBeforeDrl=false> <#assign hasBeforeDrl=false>
<#assign de=item.getPSDataEntity()> <#assign de=item.getPSDataEntity()>
...@@ -69,16 +71,4 @@ TARGET=PSDEACTION ...@@ -69,16 +71,4 @@ TARGET=PSDEACTION
</#if> </#if>
</process> </process>
</definitions> </definitions>
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDEACTION TARGET=PSDEACTION
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#comment>实体行为调用实体行为</#comment> <#comment>实体行为调用实体行为</#comment>
<#assign hasBeforeLogic =false> <#assign hasBeforeLogic =false>
<#assign de=item.getPSDataEntity()> <#assign de=item.getPSDataEntity()>
...@@ -94,16 +96,4 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower ...@@ -94,16 +96,4 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower
<#assign publicCodeName = privateCodeName?cap_first > <#assign publicCodeName = privateCodeName?cap_first >
${srfr7templcaseformat(actionLogicDE.getCodeName())}Service.remove(et.get${publicCodeName}()); ${srfr7templcaseformat(actionLogicDE.getCodeName())}Service.remove(et.get${publicCodeName}());
</#if> </#if>
</#macro> </#macro>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDESERVICEAPI TARGET=PSDESERVICEAPI
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#comment>不发布子系统实体</#comment> <#comment>不发布子系统实体</#comment>
<#if de.isSubSysDE()==false> <#if de.isSubSysDE()==false>
<#assign pubPkgCodeName = pub.getPKGCodeName()> <#assign pubPkgCodeName = pub.getPKGCodeName()>
...@@ -198,16 +200,4 @@ public class ${item.getCodeName()}DTO extends ${dtoBase} implements Serializable ...@@ -198,16 +200,4 @@ public class ${item.getCodeName()}DTO extends ${dtoBase} implements Serializable
</#list> </#list>
}) })
</#if> </#if>
</#macro> </#macro>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDESERVICEAPI TARGET=PSDESERVICEAPI
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#comment>不发布子系统实体</#comment> <#comment>不发布子系统实体</#comment>
<#if de.isSubSysDE()==false && de.getAllPSDEServiceAPIs()??> <#if de.isSubSysDE()==false && de.getAllPSDEServiceAPIs()??>
<#assign pubPkgCodeName = pub.getPKGCodeName()> <#assign pubPkgCodeName = pub.getPKGCodeName()>
...@@ -43,16 +45,4 @@ public interface ${item.getCodeName()}Mapping extends MappingBase<${item.codeNam ...@@ -43,16 +45,4 @@ public interface ${item.getCodeName()}Mapping extends MappingBase<${item.codeNam
<#--</#if>--> <#--</#if>-->
} }
</#if> </#if>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSDESERVICEAPI TARGET=PSDESERVICEAPI
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#comment>不发布子系统实体</#comment> <#comment>不发布子系统实体</#comment>
<#if de.isSubSysDE()==false> <#if de.isSubSysDE()==false>
<#-- SYSAPIRESTFUL,主从接口(非嵌套) --> <#-- SYSAPIRESTFUL,主从接口(非嵌套) -->
...@@ -1087,16 +1089,4 @@ public class ${itemCodeName}Resource { ...@@ -1087,16 +1089,4 @@ public class ${itemCodeName}Resource {
return ResponseEntity.status(HttpStatus.OK).body(result); return ResponseEntity.status(HttpStatus.OK).body(result);
</#if> </#if>
} }
</#macro> </#macro>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSTEM TARGET=PSSYSTEM
</#ibiztemplate> </#ibiztemplate>
<#comment>引入驼峰配置</#comment>
<#ibizinclude>/SLN/globalfunc.cfg</#ibizinclude>
<#if sys.codeName == 'Sample'> <#if sys.codeName == 'Sample'>
package ${pub.getPKGCodeName()}.util.service; package ${pub.getPKGCodeName()}.util.service;
...@@ -152,16 +154,4 @@ public class ValueRuleValidator implements ConstraintValidator<ValueRuleCheck, D ...@@ -152,16 +154,4 @@ public class ValueRuleValidator implements ConstraintValidator<ValueRuleCheck, D
<#assign fieldMessage=fieldRule.getRuleInfo()> <#assign fieldMessage=fieldRule.getRuleInfo()>
</#if> </#if>
<#return fieldMessage/> <#return fieldMessage/>
</#function> </#function>
\ No newline at end of file
<#comment>替换参数驼峰命名</#comment>
<#function srfr7templcaseformat codeName>
<#assign result = codeName>
<#if pub.getParam("cam") == "true">
<#assign result = srfcaseformat(codeName,'UC2l_u')>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
<#else>
<#assign result = srfcaseformat(codeName,'l_u2lC')>
</#if>
<#return result>
</#function>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册