1
0
Quellcode durchsuchen

国有建设添加单位

gushoubang vor 1 Monat
Ursprung
Commit
750b8689e2

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

@@ -22,6 +22,7 @@ public class Gyjsydscdj {
     private String qlxz;           // 权利性质
     private String yt;             // 用途
     private Float area;            // 面积
+    private String areaUnit;       // 面积单位
     private String bdcdyh;         // 不动产单元号
     private String bdczh;          // 不动产证号
     private String djjg;           // 登记结构

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

@@ -15,6 +15,7 @@ public class GyjsydscdjVo {
     private String qlxz;           // 权利性质
     private String yt;             // 用途
     private Float area;            // 面积
+    private String areaUnit;       // 面积单位
     private String bdcdyh;         // 不动产单元号
     private String bdczh;          // 不动产证号
     private String djjg;           // 登记结构

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

@@ -13,6 +13,7 @@
         <result property="qlxz" column="qlxz"/>
         <result property="yt" column="yt"/>
         <result property="area" column="area"/>
+        <result property="areaUnit" column="area_unit"/>
         <result property="bdcdyh" column="bdcdyh"/>
         <result property="bdczh" column="bdczh"/>
         <result property="djjg" column="djjg"/>
@@ -30,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, bdcdyh, bdczh, djjg, dj_date,
+        INSERT INTO t_gyjsydscdj (id, project_id, qlr, gyqk, zl, qllx, qlxz, yt, 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}, #{bdcdyh}, #{bdczh},
+        VALUES (#{id}, #{projectId}, #{qlr}, #{gyqk}, #{zl}, #{qllx}, #{qlxz}, #{yt}, #{area}, #{areaUnit}, #{bdcdyh}, #{bdczh},
                 #{djjg}, #{djDate},
                 #{hasOnchain}, #{creatorId}, now(), now())
     </insert>
@@ -56,6 +57,7 @@
             <if test="qlxz != null">qlxz = #{qlxz},</if>
             <if test="yt != null">yt = #{yt},</if>
             <if test="area != null">area = #{area},</if>
+            <if test="areaUnit != null">area_unit = #{areaUnit},</if>
             <if test="bdcdyh != null">bdcdyh = #{bdcdyh},</if>
             <if test="bdczh != null">bdczh = #{bdczh},</if>
             <if test="djjg != null">djjg = #{djjg},</if>