Browse Source

市房地产 档案补录信息

wangzhe 2 years ago
parent
commit
624af49ee6

+ 9 - 0
test-api/src/main/java/com/sooka/model/bo/Guiji_City_Real_Estate13_file_additional_Bean.java

@@ -10,4 +10,13 @@ public class Guiji_City_Real_Estate13_file_additional_Bean extends BaseBean_Guij
 
     String str;
 
+    String YWZH;//业务宗号
+    String LicenseID;//证号
+    String ZHLX;//证号类型
+    String SYQR;//所有权人
+    String ZH;//幢号
+    String FH;//房号
+    String ZJMJ;//建筑面积
+    String GHYT;//规划用途
+    String FWXZ;//房屋性质
 }

+ 9 - 0
test-api/src/main/java/com/sooka/service/impl/Guiji_City_Real_Estate_ServiceImpl.java

@@ -737,6 +737,15 @@ public class Guiji_City_Real_Estate_ServiceImpl extends BaseService implements G
             bean.setId(jsonObject.getString("id"));
             JSONObject Data = bean.getData();
             bean.setStr(str);
+            bean.setYWZH(Data.getString("YWZH"));
+            bean.setLicenseID(Data.getString("LicenseID"));
+            bean.setZHLX(Data.getString("ZHLX"));
+            bean.setSYQR(Data.getString("SYQR"));
+            bean.setZH(Data.getString("ZH"));
+            bean.setFH(Data.getString("FH"));
+            bean.setZJMJ(Data.getString("ZJMJ"));
+            bean.setGHYT(Data.getString("GHYT"));
+            bean.setFWXZ(Data.getString("FWXZ"));
             if (bean.getCd_operation().equals("I")) {
                 guiji_city_real_estate_mapper.add_guiji_real_estate_file_additional(bean);
                 guiji_city_real_estate_mapper2.add_guiji_real_estate_file_additional(bean);

+ 27 - 3
test-api/src/main/resources/mapper/Guiji_City_Real_Estate_Mapper.xml

@@ -919,10 +919,10 @@
     <insert id="add_guiji_real_estate_file_additional" parameterType="com.sooka.model.bo.Guiji_City_Real_Estate13_file_additional_Bean">
         insert into t_guiji_real_estate_file_additional (
         <include refid="global_name"></include>
-        DDDDDDDDD)
+        YWZH, LicenseID, ZHLX, SYQR, ZH, FH, ZJMJ, GHYT, FWXZ)
         values (
         <include refid="global_value"></include>
-        ###########)
+        #{YWZH}, #{LicenseID}, #{ZHLX}, #{SYQR}, #{ZH}, #{FH}, #{ZJMJ}, #{GHYT}, #{FWXZ})
     </insert>
 
     <update id="update_guiji_real_estate_file_additional" parameterType="com.sooka.model.bo.Guiji_City_Real_Estate13_file_additional_Bean">
@@ -930,7 +930,31 @@
         <trim prefix="SET" suffixOverrides=",">
             <include refid="update_sql"></include>
             <if test="YWZH != null and YWZH != ''">
-                aaaaaaaaaaaaaa,
+                YWZH = #{YWZH},
+            </if>
+            <if test="LicenseID != null and LicenseID != ''">
+                LicenseID = #{LicenseID},
+            </if>
+            <if test="ZHLX != null and ZHLX != ''">
+                ZHLX = #{ZHLX},
+            </if>
+            <if test="SYQR != null and SYQR != ''">
+                SYQR = #{SYQR},
+            </if>
+            <if test="ZH != null and ZH != ''">
+                ZH = #{ZH},
+            </if>
+            <if test="FH != null and FH != ''">
+                FH = #{FH},
+            </if>
+            <if test="ZJMJ != null and ZJMJ != ''">
+                ZJMJ = #{ZJMJ},
+            </if>
+            <if test="GHYT != null and GHYT != ''">
+                GHYT = #{GHYT},
+            </if>
+            <if test="FWXZ != null and FWXZ != ''">
+                FWXZ = #{FWXZ},
             </if>
         </trim>
         where id = #{id}

+ 27 - 3
test-api/src/main/resources/mapper/Guiji_City_Real_Estate_Mapper2.xml

@@ -919,10 +919,10 @@
     <insert id="add_guiji_real_estate_file_additional" parameterType="com.sooka.model.bo.Guiji_City_Real_Estate13_file_additional_Bean">
         insert into t_guiji_real_estate_file_additional (
         <include refid="global_name"></include>
-        DDDDDDDDD)
+        YWZH, LicenseID, ZHLX, SYQR, ZH, FH, ZJMJ, GHYT, FWXZ)
         values (
         <include refid="global_value"></include>
-        ###########)
+        #{YWZH}, #{LicenseID}, #{ZHLX}, #{SYQR}, #{ZH}, #{FH}, #{ZJMJ}, #{GHYT}, #{FWXZ})
     </insert>
 
     <update id="update_guiji_real_estate_file_additional" parameterType="com.sooka.model.bo.Guiji_City_Real_Estate13_file_additional_Bean">
@@ -930,7 +930,31 @@
         <trim prefix="SET" suffixOverrides=",">
             <include refid="update_sql"></include>
             <if test="YWZH != null and YWZH != ''">
-                aaaaaaaaaaaaaa,
+                YWZH = #{YWZH},
+            </if>
+            <if test="LicenseID != null and LicenseID != ''">
+                LicenseID = #{LicenseID},
+            </if>
+            <if test="ZHLX != null and ZHLX != ''">
+                ZHLX = #{ZHLX},
+            </if>
+            <if test="SYQR != null and SYQR != ''">
+                SYQR = #{SYQR},
+            </if>
+            <if test="ZH != null and ZH != ''">
+                ZH = #{ZH},
+            </if>
+            <if test="FH != null and FH != ''">
+                FH = #{FH},
+            </if>
+            <if test="ZJMJ != null and ZJMJ != ''">
+                ZJMJ = #{ZJMJ},
+            </if>
+            <if test="GHYT != null and GHYT != ''">
+                GHYT = #{GHYT},
+            </if>
+            <if test="FWXZ != null and FWXZ != ''">
+                FWXZ = #{FWXZ},
             </if>
         </trim>
         where id = #{id}