浏览代码

资源目录添加数据说明

DESKTOP-2K9OVK9\siwei 8 月之前
父节点
当前提交
4f1ac11002

+ 10 - 1
onemap-modules/onemap-system/src/main/java/com/onemap/system/domain/TYztZyml.java

@@ -183,7 +183,8 @@ public class TYztZyml extends TreeEntity {
     private String createBy;
     private String createBy;
     @Excel(name = "共享状态")
     @Excel(name = "共享状态")
     private String sharestate;
     private String sharestate;
-
+    @Excel(name = "数据说明")
+    private String dataexplain;
 
 
     public String getYwlx() {
     public String getYwlx() {
         return ywlx;
         return ywlx;
@@ -469,6 +470,14 @@ public class TYztZyml extends TreeEntity {
         this.sharestate = sharestate;
         this.sharestate = sharestate;
     }
     }
 
 
+    public String getDataexplain() {
+        return dataexplain;
+    }
+
+    public void setDataexplain(String dataexplain) {
+        this.dataexplain = dataexplain;
+    }
+
     @Override
     @Override
     public String toString() {
     public String toString() {
         return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
         return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

+ 5 - 1
onemap-modules/onemap-system/src/main/resources/mapper/postgresql/system/TYztZymlMapper.xml

@@ -40,11 +40,12 @@
         <result property="createTime" column="create_time"/>
         <result property="createTime" column="create_time"/>
         <result property="createBy" column="create_by"/>
         <result property="createBy" column="create_by"/>
         <result property="sharestate" column="sharestate"/>
         <result property="sharestate" column="sharestate"/>
+        <result property="dataexplain" column="dataexplain"/>
     </resultMap>
     </resultMap>
 
 
     <sql id="selectTYztZymlVo">
     <sql id="selectTYztZymlVo">
         select bsm, name, type, pbsm, icon, url, lev, sort, state, parent, server_type, sflssj, sfdbfx, sfjl, sfcx, sftj, epsg,
         select bsm, name, type, pbsm, icon, url, lev, sort, state, parent, server_type, sflssj, sfdbfx, sfjl, sfcx, sftj, epsg,
-            year, sjlx, sde, gltj, sjly, legend, ywlx,
+            year, sjlx, sde, gltj, sjly, legend, ywlx,dataexplain,
             fwmc,fwgzkj,fwys,qpfa,layergroup,format,maximumlevel,minimumlevel,create_time,create_by,sharestate from t_yzt_zyml
             fwmc,fwgzkj,fwys,qpfa,layergroup,format,maximumlevel,minimumlevel,create_time,create_by,sharestate from t_yzt_zyml
     </sql>
     </sql>
 
 
@@ -142,6 +143,7 @@
             <if test="createTime != null">create_time,</if>
             <if test="createTime != null">create_time,</if>
             <if test="createBy != null">create_by,</if>
             <if test="createBy != null">create_by,</if>
             <if test="sharestate != null">sharestate,</if>
             <if test="sharestate != null">sharestate,</if>
+            <if test="dataexplain != null">dataexplain,</if>
         </trim>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="bsm != null and bsm != ''">#{bsm},</if>
             <if test="bsm != null and bsm != ''">#{bsm},</if>
@@ -179,6 +181,7 @@
             <if test="createTime != null">#{createTime},</if>
             <if test="createTime != null">#{createTime},</if>
             <if test="createBy != null">#{createBy},</if>
             <if test="createBy != null">#{createBy},</if>
             <if test="sharestate != null">#{sharestate},</if>
             <if test="sharestate != null">#{sharestate},</if>
+            <if test="dataexplain != null">#{dataexplain},</if>
         </trim>
         </trim>
     </insert>
     </insert>
 
 
@@ -217,6 +220,7 @@
             <if test="maximumlevel != null">maximumlevel = #{maximumlevel},</if>
             <if test="maximumlevel != null">maximumlevel = #{maximumlevel},</if>
             <if test="minimumlevel != null">minimumlevel = #{minimumlevel},</if>
             <if test="minimumlevel != null">minimumlevel = #{minimumlevel},</if>
             <if test="sharestate != null">sharestate = #{sharestate},</if>
             <if test="sharestate != null">sharestate = #{sharestate},</if>
+            <if test="dataexplain != null">dataexplain=#{dataexplain},</if>
         </trim>
         </trim>
         where bsm = #{bsm}
         where bsm = #{bsm}
     </update>
     </update>