fix: 优化图层逻辑
This commit is contained in:
parent
60bace53df
commit
5634785720
@ -181,6 +181,10 @@ public class MsMaplayerB implements Serializable {
|
|||||||
@TableField("LABEL_LEVEL")
|
@TableField("LABEL_LEVEL")
|
||||||
private Integer labelLevel;
|
private Integer labelLevel;
|
||||||
|
|
||||||
|
/** 标签层级 */
|
||||||
|
@TableField("ANCHOR_PARAM_JSON")
|
||||||
|
private String anchorParamJson;
|
||||||
|
|
||||||
/** 子级集合(非数据库字段) */
|
/** 子级集合(非数据库字段) */
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private List<MsMaplayerB> children;
|
private List<MsMaplayerB> children;
|
||||||
|
|||||||
@ -64,6 +64,9 @@ public class MapLayerVo {
|
|||||||
@Schema(description = "参数json")
|
@Schema(description = "参数json")
|
||||||
private String paramJson;
|
private String paramJson;
|
||||||
|
|
||||||
|
@Schema(description = "参数ANCHOR_PARAM_JSON")
|
||||||
|
private String anchorParamJson;
|
||||||
|
|
||||||
@Schema(description = "排序")
|
@Schema(description = "排序")
|
||||||
private String orderIndex;
|
private String orderIndex;
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ public interface MsMapmoduleBMapper extends BaseMapper<MsMapmoduleB> {
|
|||||||
* 查询地图图层树(关联MS_MAPMODULE_B与MS_MAPLAYER_B)
|
* 查询地图图层树(关联MS_MAPMODULE_B与MS_MAPLAYER_B)
|
||||||
*/
|
*/
|
||||||
@Select("<script>"
|
@Select("<script>"
|
||||||
+ "SELECT DISTINCT BML.ID, BML.PARENT_ID AS parentId, BML.TITLE, BML.CODE, BML.LABEL_LEVEL AS labelLevel, "
|
+ "SELECT DISTINCT BML.ID,BML.ANCHOR_PARAM_JSON, BML.PARENT_ID AS parentId, BML.TITLE, BML.CODE, BML.LABEL_LEVEL AS labelLevel, "
|
||||||
+ "BML.CHECKABLE, BML.TYPE, BML.Z_INDEX AS zIndex, BML.STTP_TYPE AS sttpType, BML.LAYERS, "
|
+ "BML.CHECKABLE, BML.TYPE, BML.Z_INDEX AS zIndex, BML.STTP_TYPE AS sttpType, BML.LAYERS, "
|
||||||
+ "BML.PARAMJSON AS paramJson, BML.URL, BML.URL_THD AS urlThd, BML.OPACITY, BML.SYSTEM_ID AS systemId, "
|
+ "BML.PARAMJSON AS paramJson, BML.URL, BML.URL_THD AS urlThd, BML.OPACITY, BML.SYSTEM_ID AS systemId, "
|
||||||
+ "BML.OPTIONS, BMM.MULTI_SELECT AS multiSelect, BMM.CAN_BE_CHECKED AS canBeChecked, "
|
+ "BML.OPTIONS, BMM.MULTI_SELECT AS multiSelect, BMM.CAN_BE_CHECKED AS canBeChecked, "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user