Przeglądaj źródła

电子监管号的新增

chenendian 1 tydzień temu
rodzic
commit
33b5165704

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

@@ -27,6 +27,7 @@ public class Tdgy extends BaseId {
     private Boolean hasOnchain;    // 是否上链
     private String creatorId;      // 创建人ID
     private String gdUnit;        // 供地单位
+    private String dzjgh;         // 电子监管号
 
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date createdAt;        // 创建时间

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

@@ -18,5 +18,6 @@ public class TdgyVo {
     private String hbcrhtbh;       // 划拨决定书/出让合同编号
     private String hbcrhtDate;       // 划拨决定书/出让合同日期
     private String gdUnit;        // 供地单位
+    private String dzjgh;         // 电子监管号
     private String bz;            // 备注(数据清单)
 }

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

@@ -24,6 +24,7 @@
         <result property="gdUnit" column="gd_unit"/>
         <result property="nf" column="nf"/>
         <result property="bz" column="bz"/>
+        <result property="dzjgh" column="dzjgh"/>
     </resultMap>
 
     <select id="isExit" resultType="Boolean">
@@ -36,11 +37,11 @@
     <insert id="add" parameterType="com.siwei.apply.domain.Tdgy">
         INSERT INTO t_tdgy (id, project_id, srf, tdyt, jswz,
                             gd_area, gd_type, has_zz, hbcrfapfwh, hbcrhtbh,
-                            hbcrht_date, gd_unit, bz, has_onchain, creator_id,
+                            hbcrht_date, gd_unit, dzjgh, bz, has_onchain, creator_id,
                             created_at, updated_at)
         VALUES (#{id}, #{projectId}, #{srf}, #{tdyt}, #{jswz},
                 #{gdArea}, #{gdType}, #{hasZz}, #{hbcrfapfwh}, #{hbcrhtbh},
-                #{hbcrhtDate}, #{gdUnit}, #{bz}, false, #{creatorId},
+                #{hbcrhtDate}, #{gdUnit}, #{dzjgh}, #{bz}, false, #{creatorId},
                 now(), now())
     </insert>
 
@@ -74,6 +75,7 @@
             <if test="hbcrhtDate != null">hbcrht_date = #{hbcrhtDate},</if>
             <if test="hasOnchain != null">has_onchain = #{hasOnchain},</if>
             <if test="gdUnit != null">gd_unit = #{gdUnit},</if>
+            <if test="dzjgh != null">dzjgh = #{dzjgh},</if>
             <if test="bz != null">bz = #{bz},</if>
             updated_at = now()
         </set>