提交 664b2832 编写于 作者: tony001's avatar tony001

调整数据服务

上级 6d2ca2da
......@@ -65,6 +65,20 @@ import ${srfclassname('${singleLogic.getCodeName()}')}Logic from '@/service/${sr
</#if>
</#macro>
<#-- 本地供数satrt -->
<#macro local_supply singleAppMethod>
<#if singleAppMethod.getPredefinedType?? && singleAppMethod.getPredefinedType()??>
<#-- 预定义类型为索引实体 -->
<#if singleAppMethod.getPredefinedType() == "INDEXDE">
<#if singleAppMethod.getPSAppCodeList?? && singleAppMethod.getPSAppCodeList()??>
<#assign appCodeList = singleAppMethod.getPSAppCodeList() />
let codelistModel:any = {tag:'${appCodeList.codeName}',codelistType:'${appCodeList.getCodeListType()}'};
</#if>
</#if>
</#if>
</#macro>
<#-- 本地供数end -->
<#-- 检查行为是否可以执行 start -->
<#-- @author zpc -->
<#-- @update 2020.7.13 18:00 -->
......@@ -601,15 +615,15 @@ export default class ${srfclassname('${item.getCodeName()}')}ServiceBase extends
</#if>
<#--是否存在前端处理逻辑end -->
<#else>
<#-- 无实体行为 start -->
<#-- 无实体行为,有接口走接口,无接口走本地供数 start -->
<#-- @author zpc -->
<#-- @update 2020.7.14 14:00 -->
<#-- @update 2020.7.22 17:00 -->
<#if singleAppMethod.getPSDEServiceAPIMethod?? && singleAppMethod.getPSDEServiceAPIMethod()??>
<@service_block item=item singleAppMethod=singleAppMethod />
<#else>
// 无接口
<@local_supply singleAppMethod=singleAppMethod />
</#if>
<#-- 无实体行为 end -->
<#-- 无实体行为,有接口走接口,无接口走本地供数 end -->
</#if>
}
<#-- 查询数据集(post方式)start -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册