提交 82b596ef 编写于 作者: zhouweidong's avatar zhouweidong

补充实体行为(处理逻辑)批处理

上级 8f2c3c99
......@@ -125,6 +125,7 @@ public interface I${item.codeName}Service {
boolean ${srfmethodname(deaction.getCodeName())}Batch(List<${item.codeName}> etList);
<#elseif deaction.getActionType()=='DELOGIC'>
${item.codeName} ${srfmethodname(deaction.getCodeName())}(${item.codeName} et);
boolean ${srfmethodname(deaction.getCodeName())}Batch(List<${item.codeName}> etList);
<#elseif deaction.codeName?lower_case == 'get'>
${item.codeName} get(${srfr7javatype(keyfield.stdDataType)} key);
<#elseif deaction.codeName?lower_case == "create">
......
......@@ -243,6 +243,9 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
return et ;
}
<#comment>实体逻辑批处理</#comment>
<@customBatchAction deaction/>
<#elseif deaction.getCodeName()?lower_case == 'get'>
@Override
<@transactionalAnno deaction/>
......@@ -1178,6 +1181,9 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
return et ;
}
<#comment>实体逻辑批处理</#comment>
<@customBatchAction deaction/>
<#elseif deaction.getCodeName()?lower_case == 'get'>
@Override
<@transactionalAnno deaction/>
......@@ -1683,6 +1689,9 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
return et ;
}
<#comment>实体逻辑批处理</#comment>
<@customBatchAction deaction/>
<#elseif deaction.getCodeName()?lower_case == 'get'>
<#assign getMethodParam = keyfield.getCodeName()?lower_case>
@Override
......@@ -2250,6 +2259,9 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
return et ;
}
<#comment>实体逻辑批处理</#comment>
<@customBatchAction deaction/>
<#elseif deaction.getCodeName()?lower_case == 'get'>
@Override
public ${item.getCodeName()} get(${srfr7javatype(keyfield.stdDataType)} key) {
......
......@@ -279,7 +279,7 @@ public class ${itemCodeName}Resource {
</#if>
}
<#comment>自定义行为批处理</#comment>
<#if (deaction.getActionType()=='USERCUSTOM')>
<#if (deaction.getActionType()=='USERCUSTOM' || deaction.getActionType()=='DELOGIC')>
<@customBatchAction deaction/>
</#if>
......@@ -645,7 +645,7 @@ public class ${itemCodeName}Resource {
</#if>
}
<#comment>自定义行为批处理</#comment>
<#if (deaction.getActionType()=='USERCUSTOM')>
<#if (deaction.getActionType()=='USERCUSTOM' || deaction.getActionType()=='DELOGIC')>
<@customBatchActionRS deaction/>
</#if>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册