Browse Source

修改字段类型

gushoubang 1 month ago
parent
commit
97d9c9aff3

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/domain/Gyjsydjfwscdj.java

@@ -22,7 +22,7 @@ public class Gyjsydjfwscdj {
     private String tdyt;           // 土地用途
     private String area;           // 面积
     private String bdcdyh;         // 不动产单元号
-    private String bdcdjh;         // 不动产登记
+    private String bdczh;          // 不动产证
     private String djjg;           // 登记结构
     private String djDate;           // 登记日期
     private Map<String, Object> attachment;     // 附件

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/domain/Gyjsydscdj.java

@@ -20,7 +20,7 @@ public class Gyjsydscdj {
     private String zl;             // 坐落
     private String qllx;           // 权利类型
     private String qlxz;           // 权利性质
-    private String yt;             // 用途
+    private String tdyt;           // 用途
     private Float area;            // 面积
     private String areaUnit;       // 面积单位
     private String bdcdyh;         // 不动产单元号

+ 2 - 2
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/domain/vo/GyjsydjfwscdjVo.java

@@ -16,7 +16,7 @@ public class GyjsydjfwscdjVo {
     private String tdyt;           // 土地用途
     private String area;           // 面积
     private String bdcdyh;         // 不动产单元号
-    private String bdcdjh;         // 不动产登记
+    private String bdczh;          // 不动产证
     private String djjg;           // 登记结构
-    private String djDate;           // 登记日期
+    private String djDate;         // 登记日期
 }

+ 2 - 2
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/domain/vo/GyjsydscdjVo.java

@@ -13,11 +13,11 @@ public class GyjsydscdjVo {
     private String zl;             // 坐落
     private String qllx;           // 权利类型
     private String qlxz;           // 权利性质
-    private String yt;             // 用途
+    private String tdyt;           // 用途
     private Float area;            // 面积
     private String areaUnit;       // 面积单位
     private String bdcdyh;         // 不动产单元号
     private String bdczh;          // 不动产证号
     private String djjg;           // 登记结构
-    private String djDate;           // 登记日期
+    private String djDate;         // 登记日期
 }

+ 4 - 4
siwei-modules/siwei-apply/src/main/resources/mapper/GyjsydjfwscdjMapper.xml

@@ -16,7 +16,7 @@
         <result property="tdyt" column="tdyt"/>
         <result property="area" column="area"/>
         <result property="bdcdyh" column="bdcdyh"/>
-        <result property="bdcdjh" column="bdcdjh"/>
+        <result property="bdczh" column="bdczh"/>
         <result property="djjg" column="djjg"/>
         <result property="djDate" column="dj_date"/>
         <result property="hasOnchain" column="has_onchain"/>
@@ -35,11 +35,11 @@
     <insert id="add" parameterType="com.siwei.apply.domain.Gyjsydjfwscdj">
         INSERT INTO t_gyjsydjfwscdj (id, project_id, qlr, gyqk, zl,
                                      qllx, qlxz, tdyt, area, bdcdyh,
-                                     bdcdjh, djjg, dj_date, has_onchain, creator_id,
+                                     bdczh, djjg, dj_date, has_onchain, creator_id,
                                      created_at, updated_at)
         VALUES (#{id}, #{projectId}, #{qlr}, #{gyqk}, #{zl},
                 #{qllx}, #{qlxz}, #{tdyt}, #{area}, #{bdcdyh},
-                #{bdcdjh}, #{djjg}, #{djDate}, false, #{creatorId},
+                #{bdczh}, #{djjg}, #{djDate}, false, #{creatorId},
                 now(), now())
     </insert>
 
@@ -64,7 +64,7 @@
             <if test="tdyt != null">tdyt = #{tdyt},</if>
             <if test="area != null">area = #{area},</if>
             <if test="bdcdyh != null">bdcdyh = #{bdcdyh},</if>
-            <if test="bdcdjh != null">bdcdjh = #{bdcdjh},</if>
+            <if test="bdczh != null">bdczh = #{bdczh},</if>
             <if test="djjg != null">djjg = #{djjg},</if>
             <if test="djDate != null">dj_date = #{djDate},</if>
             <if test="hasOnchain != null">has_onchain = #{hasOnchain},</if>

+ 4 - 4
siwei-modules/siwei-apply/src/main/resources/mapper/GyjsydscdjMapper.xml

@@ -11,7 +11,7 @@
         <result property="zl" column="zl"/>
         <result property="qllx" column="qllx"/>
         <result property="qlxz" column="qlxz"/>
-        <result property="yt" column="yt"/>
+        <result property="tdyt" column="tdyt"/>
         <result property="area" column="area"/>
         <result property="areaUnit" column="area_unit"/>
         <result property="bdcdyh" column="bdcdyh"/>
@@ -31,9 +31,9 @@
     </select>
 
     <insert id="add" parameterType="com.siwei.apply.domain.Gyjsydscdj">
-        INSERT INTO t_gyjsydscdj (id, project_id, qlr, gyqk, zl, qllx, qlxz, yt, area, area_unit, bdcdyh, bdczh, djjg, dj_date,
+        INSERT INTO t_gyjsydscdj (id, project_id, qlr, gyqk, zl, qllx, qlxz, tdyt, area, area_unit, bdcdyh, bdczh, djjg, dj_date,
                                   has_onchain, creator_id, created_at, updated_at)
-        VALUES (#{id}, #{projectId}, #{qlr}, #{gyqk}, #{zl}, #{qllx}, #{qlxz}, #{yt}, #{area}, #{areaUnit}, #{bdcdyh}, #{bdczh},
+        VALUES (#{id}, #{projectId}, #{qlr}, #{gyqk}, #{zl}, #{qllx}, #{qlxz}, #{tdyt}, #{area}, #{areaUnit}, #{bdcdyh}, #{bdczh},
                 #{djjg}, #{djDate},
                 #{hasOnchain}, #{creatorId}, now(), now())
     </insert>
@@ -56,7 +56,7 @@
             <if test="zl != null">zl = #{zl},</if>
             <if test="qllx != null">qllx = #{qllx},</if>
             <if test="qlxz != null">qlxz = #{qlxz},</if>
-            <if test="yt != null">yt = #{yt},</if>
+            <if test="tdyt != null">tdyt = #{tdyt},</if>
             <if test="area != null">area = #{area},</if>
             <if test="areaUnit != null">area_unit = #{areaUnit},</if>
             <if test="bdcdyh != null">bdcdyh = #{bdcdyh},</if>