管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-07-14 ac20dc99bf1f463365dba071973e08fffbd294b4
1
已修改2个文件
14 ■■■■■ 文件已修改
src/main/java/com/lf/server/entity/data/LayerEntity.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/data/LayerMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/entity/data/LayerEntity.java
@@ -54,6 +54,8 @@
    private Integer isProject;
    private String json;
    public LayerEntity() {
    }
@@ -232,4 +234,12 @@
    public void setIsProject(Integer isProject) {
        this.isProject = isProject;
    }
    public String getJson() {
        return json;
    }
    public void setJson(String json) {
        this.json = json;
    }
}
src/main/resources/mapper/data/LayerMapper.xml
@@ -22,7 +22,9 @@
    </select>
    <select id="selectAll" resultType="com.lf.server.entity.data.LayerEntity">
        select (select ns from lf.sys_dict b where b.field = 'gid' and b.tab = a.en_name) "ns", a.*
        select a.*,
            (select ns from lf.sys_dict b where b.field = 'gid' and b.tab = a.en_name) "ns",
            (select json from lf.sys_publish c where c.id = a.pubid)
        from lf.sys_layer a
        order by id;
    </select>