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

补充getdraft参数

上级 fa99b023
...@@ -88,7 +88,7 @@ public class ${item.codeName}Fallback implements ${item.codeName}FeignClient { ...@@ -88,7 +88,7 @@ public class ${item.codeName}Fallback implements ${item.codeName}FeignClient {
} }
<#elseif apiMethod.getCodeName()?lower_case == 'getdraft'> <#elseif apiMethod.getCodeName()?lower_case == 'getdraft'>
public ${refDE.codeName} getDraft(){ public ${refDE.codeName} getDraft(${refDE.codeName} entity){
return null; return null;
} }
......
...@@ -74,7 +74,7 @@ public interface ${item.codeName}FeignClient { ...@@ -74,7 +74,7 @@ public interface ${item.codeName}FeignClient {
<#elseif apiMethod.getCodeName()?lower_case == 'getdraft'> <#elseif apiMethod.getCodeName()?lower_case == 'getdraft'>
@RequestMapping(method = RequestMethod.GET, value = "${fullpath}/getdraft") @RequestMapping(method = RequestMethod.GET, value = "${fullpath}/getdraft")
${refDE.codeName} getDraft(); ${refDE.codeName} getDraft(${refDE.codeName} entity);
<#elseif apiMethod.getCodeName()?lower_case == 'checkkey'> <#elseif apiMethod.getCodeName()?lower_case == 'checkkey'>
@RequestMapping(method = RequestMethod.POST, value = "${fullpath}/checkkey") @RequestMapping(method = RequestMethod.POST, value = "${fullpath}/checkkey")
......
...@@ -1840,7 +1840,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser ...@@ -1840,7 +1840,7 @@ public class ${item.getCodeName()}ServiceImpl implements I${de.getCodeName()}Ser
<#if deaction.getPSSubSysServiceAPIDEMethod()?? > <#if deaction.getPSSubSysServiceAPIDEMethod()?? >
<#comment>附加数据逻辑-操作前</#comment> <#comment>附加数据逻辑-操作前</#comment>
<@addBoforeLogic deaction/> <@addBoforeLogic deaction/>
et=${subSysServiceApiDECodeName?uncap_first}FeignClient.getDraft(); et=${subSysServiceApiDECodeName?uncap_first}FeignClient.getDraft(et);
<#comment>附加数据逻辑-操作后</#comment> <#comment>附加数据逻辑-操作后</#comment>
<@addAfterLogic deaction/> <@addAfterLogic deaction/>
return et; return et;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册