mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 18:38:16 +08:00
feat: 分享收藏完善
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
<resultMap id="panelStoreMap" type="io.dataease.dto.panel.PanelStoreDto" >
|
||||
<id column="store_id" property="storeId"></id>
|
||||
<result column="panel_group_id" property="panelGroupId"></result>
|
||||
<result column="name" property="name"></result>
|
||||
</resultMap>
|
||||
|
||||
@@ -11,7 +12,7 @@
|
||||
|
||||
|
||||
<select id="query" parameterType="io.dataease.base.mapper.ext.query.GridExample" resultMap="panelStoreMap">
|
||||
select s.store_id, g.name
|
||||
select s.store_id,s.panel_group_id, g.name
|
||||
from panel_store s
|
||||
left join panel_group g on g.id = s.panel_group_id
|
||||
<if test="_parameter != null">
|
||||
|
||||
@@ -11,5 +11,7 @@ public class PanelStoreDto {
|
||||
private Long storeId;
|
||||
@ApiModelProperty("仪表板名称")
|
||||
private String name;
|
||||
@ApiModelProperty("仪表板Id")
|
||||
private String panelGroupId;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user