获取数据来源插件编码

This commit is contained in:
hecan 2024-06-11 09:00:19 +08:00
parent 011483dead
commit 603d7331b8
1 changed files with 5 additions and 6 deletions

View File

@ -132,12 +132,11 @@
</select>
<!-- 根据数据来源内类型是插件的应用类型做分组 -->
<select id="MdmModuleSourceentityGroupByType" resultMap="get-MdmModuleSourceEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleSource.entity.MdmModuleSourceEntity">
select
source_type as sourceType,source_name as sourceName,source_code as sourceCode
from mdm_module_source
where source_type='1' and sts='Y'
group by source_type,source_name,source_code
<select id="queryMdmModuleSourceentityGroupByType" resultMap="get-MdmModuleSourceEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleSource.entity.MdmModuleSourceEntity">
select plugin_code,plugin_name,source_name,source_code
from mdm_module_source source
left join sys_application_plugin plug on plug.id=source.source_code
where source_type='1' and source.sts='Y' and plug.sts='Y'
</select>
<!--新增所有列-->