分页打包接口参数修改,数据源字段key名称更改

This commit is contained in:
liuzhaotian
2024-07-24 10:53:00 +08:00
parent fb6752e05c
commit 738ee2bf73
9 changed files with 60 additions and 48 deletions
@@ -11,12 +11,12 @@
<result property="name" column="field_name"/>
<result property="sourceId" column="field_source_id"/>
<result property="id" column="field_id"/>
<result property="key" column="field_key"/>
<result property="keyName" column="field_key"/>
</collection>
</resultMap>
<select id="selectListVO" resultMap="map">
select a.*, b.id field_id, b.name field_name, b.source_id field_source_id, b.key field_key
select a.*, b.id field_id, b.name field_name, b.source_id field_source_id, b.keyName field_key
from system_data_source a
left join system_data_source_field b on a.id = b.source_id
where a.type in (1,2)