Browse Source

修改字段名

gushoubang 1 month ago
parent
commit
7b25f34f13

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

@@ -18,7 +18,7 @@ public class Ydbp {
     private String tdyt;//土地用途
     private Float ydArea;//用地面积
     private Float zsArea;//征收面积
-    private String hasZZ;//是否完成征转
+    private String hasZz;//是否完成征转
     private String bpDate;//报批日期
     private String pfwh;//批复文号
     private String pfDate;//批复日期

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

@@ -11,7 +11,7 @@ public class YdbpVo {
     private String tdyt;// 土地用途
     private Float ydArea;// 用地面积
     private Float zsArea;// 征收面积
-    private String hasZZ;// 是否完成征转
+    private String hasZz;// 是否完成征转
 
     private String bpDate;// 报批日期
     private String pfwh;// 批复文号

+ 3 - 3
siwei-modules/siwei-apply/src/main/resources/mapper/YdbpMapper.xml

@@ -12,7 +12,7 @@
         <result property="ydUnit" column="yd_unit"/>
         <result property="zsArea" column="zs_area"/>
         <result property="zsUnit" column="zs_unit"/>
-        <result property="hasZZ" column="has_zz"/>
+        <result property="hasZz" column="has_zz"/>
         <result property="bpDate" column="bp_date"/>
         <result property="pfwh" column="pfwh"/>
         <result property="pfDate" column="pf_date"/>
@@ -30,7 +30,7 @@
     <insert id="add" parameterType="com.siwei.apply.domain.Ydbp">
         INSERT INTO t_ydbp (id, project_id, tdyt, yd_area, yd_unit, zs_area, zs_unit, has_zz,
                             bp_date, pfwh, pf_date, has_onchain, creator_id, created_at, updated_at)
-        VALUES (#{id}, #{projectId}, #{tdyt}, #{ydArea}, #{ydUnit}, #{zsArea}, #{zsUnit}, #{hasZZ},
+        VALUES (#{id}, #{projectId}, #{tdyt}, #{ydArea}, #{ydUnit}, #{zsArea}, #{zsUnit}, #{hasZz},
                 #{bpDate}, #{pfwh}, #{pfDate}, false, #{creatorId}, now(), now())
     </insert>
 
@@ -52,7 +52,7 @@
             <if test="ydUnit != null">yd_unit = #{ydUnit},</if>
             <if test="zsArea != null">zs_area = #{zsArea},</if>
             <if test="zsUnit != null">zs_unit = #{zsUnit},</if>
-            <if test="hasZZ != null">has_zz = #{hasZZ},</if>
+            <if test="hasZz != null">has_zz = #{hasZz},</if>
             <if test="bpDate != null">bp_date = #{bpDate},</if>
             <if test="pfwh != null">pfwh = #{pfwh},</if>
             <if test="pfDate != null">pf_date = #{pfDate},</if>