提交 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;
...@@ -1013,15 +1015,3 @@ public class ${item.getCodeName()} extends EntityBase implements Serializable { ...@@ -1013,15 +1015,3 @@ public class ${item.getCodeName()} extends EntityBase implements Serializable {
<#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;
...@@ -116,15 +118,3 @@ public interface ${item.getCodeName()}Mapper extends BaseMapper<${item.getCodeNa ...@@ -116,15 +118,3 @@ public interface ${item.getCodeName()}Mapper extends BaseMapper<${item.getCodeNa
</#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};
...@@ -26,15 +28,3 @@ public interface ${de.codeName}${item.codeName} { ...@@ -26,15 +28,3 @@ public interface ${de.codeName}${item.codeName} {
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()??>
...@@ -90,15 +92,3 @@ public interface ${de.codeName}InheritMapping { ...@@ -90,15 +92,3 @@ 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>
...@@ -275,15 +277,3 @@ public interface I${item.codeName}Service { ...@@ -275,15 +277,3 @@ public interface I${item.codeName}Service {
</#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>
...@@ -3300,15 +3302,3 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -3300,15 +3302,3 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
</#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;
...@@ -46,18 +48,3 @@ public class ${item.codeName} implements Serializable { ...@@ -46,18 +48,3 @@ public class ${item.codeName} implements Serializable {
</#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;
...@@ -111,15 +113,3 @@ public class ${item.getCodeName()}ESServiceImpl implements I${de.getCodeName()}E ...@@ -111,15 +113,3 @@ public class ${item.getCodeName()}ESServiceImpl implements I${de.getCodeName()}E
</#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>
...@@ -120,15 +122,3 @@ public class RocketMQListenerProcessor implements MessageListenerOrderly { ...@@ -120,15 +122,3 @@ public class RocketMQListenerProcessor implements MessageListenerOrderly {
} }
} }
</#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;
...@@ -39,16 +41,3 @@ public class ${item.codeName}JobHandler implements IJobsHandler { ...@@ -39,16 +41,3 @@ public class ${item.codeName}JobHandler implements IJobsHandler {
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()>
...@@ -307,15 +310,3 @@ TARGET=PSDATAENTITY ...@@ -307,15 +310,3 @@ TARGET=PSDATAENTITY
<#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>
...@@ -252,15 +254,3 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}" ...@@ -252,15 +254,3 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}"
</#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">
...@@ -176,15 +178,3 @@ TARGET=PSDELOGIC ...@@ -176,15 +178,3 @@ TARGET=PSDELOGIC
</#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()>
...@@ -70,15 +72,3 @@ TARGET=PSDEACTION ...@@ -70,15 +72,3 @@ TARGET=PSDEACTION
</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()>
...@@ -95,15 +97,3 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower ...@@ -95,15 +97,3 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower
${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()>
...@@ -70,15 +72,3 @@ TARGET=PSDEACTION ...@@ -70,15 +72,3 @@ TARGET=PSDEACTION
</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()>
...@@ -95,15 +97,3 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower ...@@ -95,15 +97,3 @@ global ${pub.getPKGCodeName()}.core.${de.getPSSystemModule().getCodeName()?lower
${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()>
...@@ -199,15 +201,3 @@ public class ${item.getCodeName()}DTO extends ${dtoBase} implements Serializable ...@@ -199,15 +201,3 @@ public class ${item.getCodeName()}DTO extends ${dtoBase} implements Serializable
}) })
</#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()>
...@@ -44,15 +46,3 @@ public interface ${item.getCodeName()}Mapping extends MappingBase<${item.codeNam ...@@ -44,15 +46,3 @@ public interface ${item.getCodeName()}Mapping extends MappingBase<${item.codeNam
} }
</#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,主从接口(非嵌套) -->
...@@ -1088,15 +1090,3 @@ public class ${itemCodeName}Resource { ...@@ -1088,15 +1090,3 @@ public class ${itemCodeName}Resource {
</#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;
...@@ -153,15 +155,3 @@ public class ValueRuleValidator implements ConstraintValidator<ValueRuleCheck, D ...@@ -153,15 +155,3 @@ public class ValueRuleValidator implements ConstraintValidator<ValueRuleCheck, D
</#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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册