Browse Source

添加geoserver字段设置

DESKTOP-2K9OVK9\siwei 5 months ago
parent
commit
2059f81a11

+ 13 - 3
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/domain/zymlapplication/TZymlFiled.java

@@ -24,9 +24,11 @@ public class TZymlFiled extends BaseEntity {
     private String filedName;
     //    private String filed_name_zh;
     private String filedNameZh;
+    private String filedType;
     //    private String share_display;
     private String shareDisplay;
-    private String sort;
+    private Integer sort;
+
     public String getId() {
         return id;
     }
@@ -59,6 +61,14 @@ public class TZymlFiled extends BaseEntity {
         this.filedNameZh = filedNameZh;
     }
 
+    public String getFiledType() {
+        return filedType;
+    }
+
+    public void setFiledType(String filedType) {
+        this.filedType = filedType;
+    }
+
     public String getShareDisplay() {
         return shareDisplay;
     }
@@ -67,11 +77,11 @@ public class TZymlFiled extends BaseEntity {
         this.shareDisplay = shareDisplay;
     }
 
-    public String getSort() {
+    public Integer getSort() {
         return sort;
     }
 
-    public void setSort(String sort) {
+    public void setSort(Integer sort) {
         this.sort = sort;
     }
 }

File diff suppressed because it is too large
+ 18 - 10
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/service/impl/zymlapplication/ShareConfigurationServiceImp.java


+ 6 - 3
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/zymlapplication/TZymlFiledMapper.xml

@@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="zymlId"    column="zyml_id"    />
         <result property="filedName"    column="filed_name"    />
         <result property="filedNameZh"    column="filed_name_zh"    />
+        <result property="filedType"    column="filed_type"    />
         <result property="shareDisplay"    column="share_display"    />
         <result property="sort"    column="sort"    />
     </resultMap>
@@ -38,17 +39,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="zymlId != null">zyml_id,</if>
             <if test="filedName != null">filed_name,</if>
             <if test="filedNameZh != null">filed_name_zh,</if>
+            <if test="filedType != null">filed_type,</if>
             <if test="shareDisplay != null">share_display,</if>
-            <if test="sort != sort">sort,</if>
-         </trim>
+            <if test="sort != null">sort,</if>
+        </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
             <if test="zymlId != null">#{zymlId},</if>
             <if test="filedName != null">#{filedName},</if>
             <if test="filedNameZh != null">#{filedNameZh},</if>
+            <if test="filedType != null">#{filedType},</if>
             <if test="shareDisplay != null">#{shareDisplay},</if>
             <if test="sort != null">#{sort},</if>
-         </trim>
+        </trim>
     </insert>
 
     <update id="updateTZymlFiled" parameterType="TZymlFiled">

Some files were not shown because too many files changed in this diff