|
@@ -27,6 +27,8 @@
|
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
|
|
<result column="updated_id" jdbcType="VARCHAR" property="updatedId" />
|
|
<result column="updated_id" jdbcType="VARCHAR" property="updatedId" />
|
|
|
|
|
+ <result column="ncid" jdbcType="VARCHAR" property="ncid" />
|
|
|
|
|
+ <result column="nc_code" jdbcType="VARCHAR" property="ncCode" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.buildManage.model.MnpBuilding">
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.buildManage.model.MnpBuilding">
|
|
|
<result column="remark" jdbcType="LONGVARCHAR" property="remark" />
|
|
<result column="remark" jdbcType="LONGVARCHAR" property="remark" />
|
|
@@ -94,7 +96,7 @@
|
|
|
id, group_id, group_name, disc_id, disc_name, order_num, build_num, construction_num,
|
|
id, group_id, group_name, disc_id, disc_name, order_num, build_num, construction_num,
|
|
|
area, residential_area, un_residential_area, cover_an_area, underground_area, room_num,
|
|
area, residential_area, un_residential_area, cover_an_area, underground_area, room_num,
|
|
|
number_info, floors, overground_floors, underground_floors, structure, regionalism_code,
|
|
number_info, floors, overground_floors, underground_floors, structure, regionalism_code,
|
|
|
- land_code, created_id, created_at, updated_at, updated_id
|
|
|
|
|
|
|
+ land_code, created_id, created_at, updated_at, updated_id, ncid, nc_code
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
|
remark, price_remark
|
|
remark, price_remark
|
|
@@ -156,8 +158,8 @@
|
|
|
floors, overground_floors, underground_floors,
|
|
floors, overground_floors, underground_floors,
|
|
|
structure, regionalism_code, land_code,
|
|
structure, regionalism_code, land_code,
|
|
|
created_id, created_at, updated_at,
|
|
created_id, created_at, updated_at,
|
|
|
- updated_id, remark, price_remark
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ updated_id, ncid, nc_code,
|
|
|
|
|
+ remark, price_remark)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{groupName,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{groupName,jdbcType=VARCHAR},
|
|
|
#{discId,jdbcType=VARCHAR}, #{discName,jdbcType=VARCHAR}, #{orderNum,jdbcType=VARCHAR},
|
|
#{discId,jdbcType=VARCHAR}, #{discName,jdbcType=VARCHAR}, #{orderNum,jdbcType=VARCHAR},
|
|
|
#{buildNum,jdbcType=VARCHAR}, #{constructionNum,jdbcType=VARCHAR}, #{area,jdbcType=DOUBLE},
|
|
#{buildNum,jdbcType=VARCHAR}, #{constructionNum,jdbcType=VARCHAR}, #{area,jdbcType=DOUBLE},
|
|
@@ -166,8 +168,8 @@
|
|
|
#{floors,jdbcType=INTEGER}, #{overgroundFloors,jdbcType=INTEGER}, #{undergroundFloors,jdbcType=INTEGER},
|
|
#{floors,jdbcType=INTEGER}, #{overgroundFloors,jdbcType=INTEGER}, #{undergroundFloors,jdbcType=INTEGER},
|
|
|
#{structure,jdbcType=VARCHAR}, #{regionalismCode,jdbcType=VARCHAR}, #{landCode,jdbcType=VARCHAR},
|
|
#{structure,jdbcType=VARCHAR}, #{regionalismCode,jdbcType=VARCHAR}, #{landCode,jdbcType=VARCHAR},
|
|
|
#{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
#{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
- #{updatedId,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}, #{priceRemark,jdbcType=LONGVARCHAR}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{updatedId,jdbcType=VARCHAR}, #{ncid,jdbcType=VARCHAR}, #{ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ #{remark,jdbcType=LONGVARCHAR}, #{priceRemark,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.buildManage.model.MnpBuilding">
|
|
<insert id="insertSelective" parameterType="com.idea.buildManage.model.MnpBuilding">
|
|
|
insert into mnp_building
|
|
insert into mnp_building
|
|
@@ -247,6 +249,12 @@
|
|
|
<if test="updatedId != null">
|
|
<if test="updatedId != null">
|
|
|
updated_id,
|
|
updated_id,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ncid != null">
|
|
|
|
|
+ ncid,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="ncCode != null">
|
|
|
|
|
+ nc_code,
|
|
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
<if test="remark != null">
|
|
|
remark,
|
|
remark,
|
|
|
</if>
|
|
</if>
|
|
@@ -330,6 +338,12 @@
|
|
|
<if test="updatedId != null">
|
|
<if test="updatedId != null">
|
|
|
#{updatedId,jdbcType=VARCHAR},
|
|
#{updatedId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ncid != null">
|
|
|
|
|
+ #{ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="ncCode != null">
|
|
|
|
|
+ #{ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
<if test="remark != null">
|
|
|
#{remark,jdbcType=LONGVARCHAR},
|
|
#{remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -422,6 +436,12 @@
|
|
|
<if test="record.updatedId != null">
|
|
<if test="record.updatedId != null">
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.ncid != null">
|
|
|
|
|
+ ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="record.ncCode != null">
|
|
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.remark != null">
|
|
<if test="record.remark != null">
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -460,6 +480,8 @@
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
|
|
+ ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
price_remark = #{record.priceRemark,jdbcType=LONGVARCHAR}
|
|
price_remark = #{record.priceRemark,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -492,7 +514,9 @@
|
|
|
created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
- updated_id = #{record.updatedId,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
|
|
+ ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -572,6 +596,12 @@
|
|
|
<if test="updatedId != null">
|
|
<if test="updatedId != null">
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ncid != null">
|
|
|
|
|
+ ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="ncCode != null">
|
|
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
<if test="remark != null">
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -607,6 +637,8 @@
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
|
|
+ ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
price_remark = #{priceRemark,jdbcType=LONGVARCHAR}
|
|
price_remark = #{priceRemark,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
@@ -636,7 +668,9 @@
|
|
|
created_id = #{createdId,jdbcType=VARCHAR},
|
|
created_id = #{createdId,jdbcType=VARCHAR},
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
- updated_id = #{updatedId,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
|
|
+ ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|