|
@@ -9,6 +9,7 @@
|
|
|
<result property="jsyj" column="jsyj"/>
|
|
|
<result property="jsdd" column="jsdd"/>
|
|
|
<result property="area" column="area"/>
|
|
|
+ <result property="areaUnit" column="area_unit"/>
|
|
|
<result property="hasZz" column="has_zz"/>
|
|
|
<result property="xmjsyj" column="xmjsyj"/>
|
|
|
<result property="zzwh" column="zzwh"/>
|
|
@@ -26,9 +27,9 @@
|
|
|
</select>
|
|
|
|
|
|
<insert id="add" parameterType="com.siwei.apply.domain.Ydysyxz">
|
|
|
- INSERT INTO t_ydysyxz (id, project_id, jsyj, jsdd, area, has_zz,
|
|
|
+ INSERT INTO t_ydysyxz (id, project_id, jsyj, jsdd, area, area_unit, has_zz,
|
|
|
xmjsyj, zzwh, fz_date, has_onchain, created_at, updated_at, creator_id)
|
|
|
- VALUES (#{id}, #{projectId}, #{jsyj}, #{jsdd}, #{area}, #{hasZz},
|
|
|
+ VALUES (#{id}, #{projectId}, #{jsyj}, #{jsdd}, #{area}, #{areaUnit}, #{hasZz},
|
|
|
#{xmjsyj}, #{zzwh}, #{fzDate},
|
|
|
false, now(), now(), #{creatorId})
|
|
|
</insert>
|
|
@@ -44,6 +45,7 @@
|
|
|
<if test="projectId != null">project_id = #{projectId},</if>
|
|
|
<if test="jsdd != null">jsdd = #{jsdd},</if>
|
|
|
<if test="area != null">area = #{area},</if>
|
|
|
+ <if test="areaUnit != null">area_unit = #{areaUnit},</if>
|
|
|
<if test="hasZz != null">has_zz = #{hasZz},</if>
|
|
|
<if test="xmjsyj != null">xmjsyj = #{xmjsyj},</if>
|
|
|
<if test="zzwh != null">zzwh = #{zzwh},</if>
|