组态数据传输功能

This commit is contained in:
2023-06-15 09:44:20 +08:00
parent 38ca57c790
commit 83b6087427
5 changed files with 103 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
<select id="getData" resultType="DataArrayDTO">
select
t1.id dataSetId,
t1.another_name dataSetName,
t0.name dataArrayName,
t0.another_name dataArrayShowName,
@@ -36,7 +37,7 @@
<foreach collection='list' item='item' index="index" open='(' separator=',' close=')'>
#{item}
</foreach>
group by t1.another_name,t0.name,t0.another_name
group by t1.id,t1.another_name,t0.name,t0.another_name
order by convert (substring_index(group_concat(distinct t0.sort),',',-1),unsigned)
</select>