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