|
|
@@ -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>
|