|
@@ -26,6 +26,7 @@
|
|
|
<result column="sale_status" jdbcType="INTEGER" property="saleStatus" />
|
|
<result column="sale_status" jdbcType="INTEGER" property="saleStatus" />
|
|
|
<result column="regionalism_code" jdbcType="VARCHAR" property="regionalismCode" />
|
|
<result column="regionalism_code" jdbcType="VARCHAR" property="regionalismCode" />
|
|
|
<result column="address" jdbcType="VARCHAR" property="address" />
|
|
<result column="address" jdbcType="VARCHAR" property="address" />
|
|
|
|
|
+ <result column="order_num" jdbcType="VARCHAR" property="orderNum" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.buildManage.model.ParkInfo">
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.buildManage.model.ParkInfo">
|
|
|
<result column="introduction" jdbcType="LONGVARCHAR" property="introduction" />
|
|
<result column="introduction" jdbcType="LONGVARCHAR" property="introduction" />
|
|
@@ -92,7 +93,8 @@
|
|
|
id, group_id, group_name, created_id, created_at, updated_at, nature, pre_sales_license_number,
|
|
id, group_id, group_name, created_id, created_at, updated_at, nature, pre_sales_license_number,
|
|
|
company_id, build_area, land_area, project_approval_document, engineering_planning_permit,
|
|
company_id, build_area, land_area, project_approval_document, engineering_planning_permit,
|
|
|
construction_permit, land_certificate_number, land_use_permit_number, volume_ratio,
|
|
construction_permit, land_certificate_number, land_use_permit_number, volume_ratio,
|
|
|
- green_ratio, price, exceeded_price, area_status, sale_status, regionalism_code, address
|
|
|
|
|
|
|
+ green_ratio, price, exceeded_price, area_status, sale_status, regionalism_code, address,
|
|
|
|
|
+ order_num
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
|
introduction
|
|
introduction
|
|
@@ -154,8 +156,8 @@
|
|
|
land_certificate_number, land_use_permit_number,
|
|
land_certificate_number, land_use_permit_number,
|
|
|
volume_ratio, green_ratio, price,
|
|
volume_ratio, green_ratio, price,
|
|
|
exceeded_price, area_status, sale_status,
|
|
exceeded_price, area_status, sale_status,
|
|
|
- regionalism_code, address, introduction
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ regionalism_code, address, order_num,
|
|
|
|
|
+ introduction)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{groupName,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{groupName,jdbcType=VARCHAR},
|
|
|
#{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
#{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
#{nature,jdbcType=VARCHAR}, #{preSalesLicenseNumber,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR},
|
|
#{nature,jdbcType=VARCHAR}, #{preSalesLicenseNumber,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR},
|
|
@@ -164,8 +166,8 @@
|
|
|
#{landCertificateNumber,jdbcType=VARCHAR}, #{landUsePermitNumber,jdbcType=VARCHAR},
|
|
#{landCertificateNumber,jdbcType=VARCHAR}, #{landUsePermitNumber,jdbcType=VARCHAR},
|
|
|
#{volumeRatio,jdbcType=DOUBLE}, #{greenRatio,jdbcType=DOUBLE}, #{price,jdbcType=DECIMAL},
|
|
#{volumeRatio,jdbcType=DOUBLE}, #{greenRatio,jdbcType=DOUBLE}, #{price,jdbcType=DECIMAL},
|
|
|
#{exceededPrice,jdbcType=DECIMAL}, #{areaStatus,jdbcType=INTEGER}, #{saleStatus,jdbcType=INTEGER},
|
|
#{exceededPrice,jdbcType=DECIMAL}, #{areaStatus,jdbcType=INTEGER}, #{saleStatus,jdbcType=INTEGER},
|
|
|
- #{regionalismCode,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{introduction,jdbcType=LONGVARCHAR}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{regionalismCode,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{orderNum,jdbcType=VARCHAR},
|
|
|
|
|
+ #{introduction,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.buildManage.model.ParkInfo">
|
|
<insert id="insertSelective" parameterType="com.idea.buildManage.model.ParkInfo">
|
|
|
insert into park_info
|
|
insert into park_info
|
|
@@ -242,6 +244,9 @@
|
|
|
<if test="address != null">
|
|
<if test="address != null">
|
|
|
address,
|
|
address,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="orderNum != null">
|
|
|
|
|
+ order_num,
|
|
|
|
|
+ </if>
|
|
|
<if test="introduction != null">
|
|
<if test="introduction != null">
|
|
|
introduction,
|
|
introduction,
|
|
|
</if>
|
|
</if>
|
|
@@ -319,6 +324,9 @@
|
|
|
<if test="address != null">
|
|
<if test="address != null">
|
|
|
#{address,jdbcType=VARCHAR},
|
|
#{address,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="orderNum != null">
|
|
|
|
|
+ #{orderNum,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="introduction != null">
|
|
<if test="introduction != null">
|
|
|
#{introduction,jdbcType=LONGVARCHAR},
|
|
#{introduction,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -405,6 +413,9 @@
|
|
|
<if test="record.address != null">
|
|
<if test="record.address != null">
|
|
|
address = #{record.address,jdbcType=VARCHAR},
|
|
address = #{record.address,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.orderNum != null">
|
|
|
|
|
+ order_num = #{record.orderNum,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.introduction != null">
|
|
<if test="record.introduction != null">
|
|
|
introduction = #{record.introduction,jdbcType=LONGVARCHAR},
|
|
introduction = #{record.introduction,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -439,6 +450,7 @@
|
|
|
sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
|
regionalism_code = #{record.regionalismCode,jdbcType=VARCHAR},
|
|
regionalism_code = #{record.regionalismCode,jdbcType=VARCHAR},
|
|
|
address = #{record.address,jdbcType=VARCHAR},
|
|
address = #{record.address,jdbcType=VARCHAR},
|
|
|
|
|
+ order_num = #{record.orderNum,jdbcType=VARCHAR},
|
|
|
introduction = #{record.introduction,jdbcType=LONGVARCHAR}
|
|
introduction = #{record.introduction,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -469,7 +481,8 @@
|
|
|
area_status = #{record.areaStatus,jdbcType=INTEGER},
|
|
area_status = #{record.areaStatus,jdbcType=INTEGER},
|
|
|
sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
sale_status = #{record.saleStatus,jdbcType=INTEGER},
|
|
|
regionalism_code = #{record.regionalismCode,jdbcType=VARCHAR},
|
|
regionalism_code = #{record.regionalismCode,jdbcType=VARCHAR},
|
|
|
- address = #{record.address,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ address = #{record.address,jdbcType=VARCHAR},
|
|
|
|
|
+ order_num = #{record.orderNum,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>
|
|
@@ -546,6 +559,9 @@
|
|
|
<if test="address != null">
|
|
<if test="address != null">
|
|
|
address = #{address,jdbcType=VARCHAR},
|
|
address = #{address,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="orderNum != null">
|
|
|
|
|
+ order_num = #{orderNum,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="introduction != null">
|
|
<if test="introduction != null">
|
|
|
introduction = #{introduction,jdbcType=LONGVARCHAR},
|
|
introduction = #{introduction,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -577,6 +593,7 @@
|
|
|
sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
|
regionalism_code = #{regionalismCode,jdbcType=VARCHAR},
|
|
regionalism_code = #{regionalismCode,jdbcType=VARCHAR},
|
|
|
address = #{address,jdbcType=VARCHAR},
|
|
address = #{address,jdbcType=VARCHAR},
|
|
|
|
|
+ order_num = #{orderNum,jdbcType=VARCHAR},
|
|
|
introduction = #{introduction,jdbcType=LONGVARCHAR}
|
|
introduction = #{introduction,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
@@ -604,7 +621,8 @@
|
|
|
area_status = #{areaStatus,jdbcType=INTEGER},
|
|
area_status = #{areaStatus,jdbcType=INTEGER},
|
|
|
sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
sale_status = #{saleStatus,jdbcType=INTEGER},
|
|
|
regionalism_code = #{regionalismCode,jdbcType=VARCHAR},
|
|
regionalism_code = #{regionalismCode,jdbcType=VARCHAR},
|
|
|
- address = #{address,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ address = #{address,jdbcType=VARCHAR},
|
|
|
|
|
+ order_num = #{orderNum,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|