|
@@ -17,12 +17,18 @@
|
|
|
<result column="total_price" jdbcType="DECIMAL" property="totalPrice" />
|
|
|
<result column="buyer_proportion" jdbcType="DOUBLE" property="buyerProportion" />
|
|
|
<result column="buyer_money" jdbcType="DECIMAL" property="buyerMoney" />
|
|
|
+ <result column="buyer_name" jdbcType="VARCHAR" property="buyerName" />
|
|
|
<result column="payment_method" jdbcType="INTEGER" property="paymentMethod" />
|
|
|
<result column="deadline" jdbcType="TIMESTAMP" property="deadline" />
|
|
|
<result column="maintenance_funds" jdbcType="DECIMAL" property="maintenanceFunds" />
|
|
|
<result column="maintenance_total_price" jdbcType="DECIMAL" property="maintenanceTotalPrice" />
|
|
|
<result column="contract_status" jdbcType="INTEGER" property="contractStatus" />
|
|
|
<result column="customer_management_id" jdbcType="VARCHAR" property="customerManagementId" />
|
|
|
+ <result column="subscription_funds" jdbcType="DECIMAL" property="subscriptionFunds" />
|
|
|
+ <result column="created_id" jdbcType="VARCHAR" property="createdId" />
|
|
|
+ <result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
|
|
|
+ <result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
|
|
|
+ <result column="updated_id" jdbcType="VARCHAR" property="updatedId" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.customerManagement.model.ContractManage">
|
|
|
<result column="remark" jdbcType="LONGVARCHAR" property="remark" />
|
|
@@ -88,10 +94,11 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, record_number, contract_number, seller, house_id, house_name, actual_build_area,
|
|
|
- actual_internal_area, actual_share_area, institution, signing_date, house_price,
|
|
|
- total_price, buyer_proportion, buyer_money, payment_method, deadline, maintenance_funds,
|
|
|
- maintenance_total_price, contract_status, customer_management_id
|
|
|
+ id, record_number, contract_number, seller, house_id, house_name, actual_build_area,
|
|
|
+ actual_internal_area, actual_share_area, institution, signing_date, house_price,
|
|
|
+ total_price, buyer_proportion, buyer_money, buyer_name, payment_method, deadline,
|
|
|
+ maintenance_funds, maintenance_total_price, contract_status, customer_management_id,
|
|
|
+ subscription_funds, created_id, created_at, updated_at, updated_id
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
remark, contract_original, contract_other
|
|
@@ -127,7 +134,7 @@
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
|
|
|
- select
|
|
|
+ select
|
|
|
<include refid="Base_Column_List" />
|
|
|
,
|
|
|
<include refid="Blob_Column_List" />
|
|
@@ -145,24 +152,28 @@
|
|
|
</if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.idea.customerManagement.model.ContractManage">
|
|
|
- insert into contract_manage (id, record_number, contract_number,
|
|
|
- seller, house_id, house_name,
|
|
|
- actual_build_area, actual_internal_area, actual_share_area,
|
|
|
- institution, signing_date, house_price,
|
|
|
- total_price, buyer_proportion, buyer_money,
|
|
|
- payment_method, deadline, maintenance_funds,
|
|
|
- maintenance_total_price, contract_status,
|
|
|
- customer_management_id, remark, contract_original,
|
|
|
- contract_other)
|
|
|
- values (#{id,jdbcType=VARCHAR}, #{recordNumber,jdbcType=VARCHAR}, #{contractNumber,jdbcType=VARCHAR},
|
|
|
- #{seller,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR}, #{houseName,jdbcType=VARCHAR},
|
|
|
- #{actualBuildArea,jdbcType=DOUBLE}, #{actualInternalArea,jdbcType=DOUBLE}, #{actualShareArea,jdbcType=DOUBLE},
|
|
|
- #{institution,jdbcType=VARCHAR}, #{signingDate,jdbcType=TIMESTAMP}, #{housePrice,jdbcType=DECIMAL},
|
|
|
- #{totalPrice,jdbcType=DECIMAL}, #{buyerProportion,jdbcType=DOUBLE}, #{buyerMoney,jdbcType=DECIMAL},
|
|
|
- #{paymentMethod,jdbcType=INTEGER}, #{deadline,jdbcType=TIMESTAMP}, #{maintenanceFunds,jdbcType=DECIMAL},
|
|
|
- #{maintenanceTotalPrice,jdbcType=DECIMAL}, #{contractStatus,jdbcType=INTEGER},
|
|
|
- #{customerManagementId,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}, #{contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
- #{contractOther,jdbcType=LONGVARCHAR})
|
|
|
+ insert into contract_manage (id, record_number, contract_number,
|
|
|
+ seller, house_id, house_name,
|
|
|
+ actual_build_area, actual_internal_area, actual_share_area,
|
|
|
+ institution, signing_date, house_price,
|
|
|
+ total_price, buyer_proportion, buyer_money,
|
|
|
+ buyer_name, payment_method, deadline,
|
|
|
+ maintenance_funds, maintenance_total_price,
|
|
|
+ contract_status, customer_management_id, subscription_funds,
|
|
|
+ created_id, created_at, updated_at,
|
|
|
+ updated_id, remark, contract_original,
|
|
|
+ contract_other)
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{recordNumber,jdbcType=VARCHAR}, #{contractNumber,jdbcType=VARCHAR},
|
|
|
+ #{seller,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR}, #{houseName,jdbcType=VARCHAR},
|
|
|
+ #{actualBuildArea,jdbcType=DOUBLE}, #{actualInternalArea,jdbcType=DOUBLE}, #{actualShareArea,jdbcType=DOUBLE},
|
|
|
+ #{institution,jdbcType=VARCHAR}, #{signingDate,jdbcType=TIMESTAMP}, #{housePrice,jdbcType=DECIMAL},
|
|
|
+ #{totalPrice,jdbcType=DECIMAL}, #{buyerProportion,jdbcType=DOUBLE}, #{buyerMoney,jdbcType=DECIMAL},
|
|
|
+ #{buyerName,jdbcType=VARCHAR}, #{paymentMethod,jdbcType=INTEGER}, #{deadline,jdbcType=TIMESTAMP},
|
|
|
+ #{maintenanceFunds,jdbcType=DECIMAL}, #{maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
+ #{contractStatus,jdbcType=INTEGER}, #{customerManagementId,jdbcType=VARCHAR}, #{subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ #{updatedId,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}, #{contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
+ #{contractOther,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.customerManagement.model.ContractManage">
|
|
|
insert into contract_manage
|
|
@@ -212,6 +223,9 @@
|
|
|
<if test="buyerMoney != null">
|
|
|
buyer_money,
|
|
|
</if>
|
|
|
+ <if test="buyerName != null">
|
|
|
+ buyer_name,
|
|
|
+ </if>
|
|
|
<if test="paymentMethod != null">
|
|
|
payment_method,
|
|
|
</if>
|
|
@@ -230,6 +244,21 @@
|
|
|
<if test="customerManagementId != null">
|
|
|
customer_management_id,
|
|
|
</if>
|
|
|
+ <if test="subscriptionFunds != null">
|
|
|
+ subscription_funds,
|
|
|
+ </if>
|
|
|
+ <if test="createdId != null">
|
|
|
+ created_id,
|
|
|
+ </if>
|
|
|
+ <if test="createdAt != null">
|
|
|
+ created_at,
|
|
|
+ </if>
|
|
|
+ <if test="updatedAt != null">
|
|
|
+ updated_at,
|
|
|
+ </if>
|
|
|
+ <if test="updatedId != null">
|
|
|
+ updated_id,
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
remark,
|
|
|
</if>
|
|
@@ -286,6 +315,9 @@
|
|
|
<if test="buyerMoney != null">
|
|
|
#{buyerMoney,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
+ <if test="buyerName != null">
|
|
|
+ #{buyerName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="paymentMethod != null">
|
|
|
#{paymentMethod,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -304,6 +336,21 @@
|
|
|
<if test="customerManagementId != null">
|
|
|
#{customerManagementId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="subscriptionFunds != null">
|
|
|
+ #{subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="createdId != null">
|
|
|
+ #{createdId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createdAt != null">
|
|
|
+ #{createdAt,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updatedAt != null">
|
|
|
+ #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updatedId != null">
|
|
|
+ #{updatedId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
#{remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -369,6 +416,9 @@
|
|
|
<if test="record.buyerMoney != null">
|
|
|
buyer_money = #{record.buyerMoney,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
+ <if test="record.buyerName != null">
|
|
|
+ buyer_name = #{record.buyerName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.paymentMethod != null">
|
|
|
payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -387,6 +437,21 @@
|
|
|
<if test="record.customerManagementId != null">
|
|
|
customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.subscriptionFunds != null">
|
|
|
+ subscription_funds = #{record.subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdId != null">
|
|
|
+ created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdAt != null">
|
|
|
+ created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatedAt != null">
|
|
|
+ updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatedId != null">
|
|
|
+ updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.remark != null">
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -404,29 +469,35 @@
|
|
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
update contract_manage
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
- record_number = #{record.recordNumber,jdbcType=VARCHAR},
|
|
|
- contract_number = #{record.contractNumber,jdbcType=VARCHAR},
|
|
|
- seller = #{record.seller,jdbcType=VARCHAR},
|
|
|
- house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
- house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
- actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
|
|
|
- actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
|
|
|
- actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
|
|
|
- institution = #{record.institution,jdbcType=VARCHAR},
|
|
|
- signing_date = #{record.signingDate,jdbcType=TIMESTAMP},
|
|
|
- house_price = #{record.housePrice,jdbcType=DECIMAL},
|
|
|
- total_price = #{record.totalPrice,jdbcType=DECIMAL},
|
|
|
- buyer_proportion = #{record.buyerProportion,jdbcType=DOUBLE},
|
|
|
- buyer_money = #{record.buyerMoney,jdbcType=DECIMAL},
|
|
|
- payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
- deadline = #{record.deadline,jdbcType=TIMESTAMP},
|
|
|
- maintenance_funds = #{record.maintenanceFunds,jdbcType=DECIMAL},
|
|
|
- maintenance_total_price = #{record.maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
- contract_status = #{record.contractStatus,jdbcType=INTEGER},
|
|
|
- customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
- remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
- contract_original = #{record.contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
- contract_other = #{record.contractOther,jdbcType=LONGVARCHAR}
|
|
|
+ record_number = #{record.recordNumber,jdbcType=VARCHAR},
|
|
|
+ contract_number = #{record.contractNumber,jdbcType=VARCHAR},
|
|
|
+ seller = #{record.seller,jdbcType=VARCHAR},
|
|
|
+ house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
+ house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
+ actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
|
|
|
+ actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
|
|
|
+ actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
|
|
|
+ institution = #{record.institution,jdbcType=VARCHAR},
|
|
|
+ signing_date = #{record.signingDate,jdbcType=TIMESTAMP},
|
|
|
+ house_price = #{record.housePrice,jdbcType=DECIMAL},
|
|
|
+ total_price = #{record.totalPrice,jdbcType=DECIMAL},
|
|
|
+ buyer_proportion = #{record.buyerProportion,jdbcType=DOUBLE},
|
|
|
+ buyer_money = #{record.buyerMoney,jdbcType=DECIMAL},
|
|
|
+ buyer_name = #{record.buyerName,jdbcType=VARCHAR},
|
|
|
+ payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
+ deadline = #{record.deadline,jdbcType=TIMESTAMP},
|
|
|
+ maintenance_funds = #{record.maintenanceFunds,jdbcType=DECIMAL},
|
|
|
+ maintenance_total_price = #{record.maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
+ contract_status = #{record.contractStatus,jdbcType=INTEGER},
|
|
|
+ customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
+ subscription_funds = #{record.subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
|
+ created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
+ remark = #{record.remark,jdbcType=LONGVARCHAR},
|
|
|
+ contract_original = #{record.contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
+ contract_other = #{record.contractOther,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -434,26 +505,32 @@
|
|
|
<update id="updateByExample" parameterType="map">
|
|
|
update contract_manage
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
- record_number = #{record.recordNumber,jdbcType=VARCHAR},
|
|
|
- contract_number = #{record.contractNumber,jdbcType=VARCHAR},
|
|
|
- seller = #{record.seller,jdbcType=VARCHAR},
|
|
|
- house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
- house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
- actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
|
|
|
- actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
|
|
|
- actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
|
|
|
- institution = #{record.institution,jdbcType=VARCHAR},
|
|
|
- signing_date = #{record.signingDate,jdbcType=TIMESTAMP},
|
|
|
- house_price = #{record.housePrice,jdbcType=DECIMAL},
|
|
|
- total_price = #{record.totalPrice,jdbcType=DECIMAL},
|
|
|
- buyer_proportion = #{record.buyerProportion,jdbcType=DOUBLE},
|
|
|
- buyer_money = #{record.buyerMoney,jdbcType=DECIMAL},
|
|
|
- payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
- deadline = #{record.deadline,jdbcType=TIMESTAMP},
|
|
|
- maintenance_funds = #{record.maintenanceFunds,jdbcType=DECIMAL},
|
|
|
- maintenance_total_price = #{record.maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
- contract_status = #{record.contractStatus,jdbcType=INTEGER},
|
|
|
- customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR}
|
|
|
+ record_number = #{record.recordNumber,jdbcType=VARCHAR},
|
|
|
+ contract_number = #{record.contractNumber,jdbcType=VARCHAR},
|
|
|
+ seller = #{record.seller,jdbcType=VARCHAR},
|
|
|
+ house_id = #{record.houseId,jdbcType=VARCHAR},
|
|
|
+ house_name = #{record.houseName,jdbcType=VARCHAR},
|
|
|
+ actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
|
|
|
+ actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
|
|
|
+ actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
|
|
|
+ institution = #{record.institution,jdbcType=VARCHAR},
|
|
|
+ signing_date = #{record.signingDate,jdbcType=TIMESTAMP},
|
|
|
+ house_price = #{record.housePrice,jdbcType=DECIMAL},
|
|
|
+ total_price = #{record.totalPrice,jdbcType=DECIMAL},
|
|
|
+ buyer_proportion = #{record.buyerProportion,jdbcType=DOUBLE},
|
|
|
+ buyer_money = #{record.buyerMoney,jdbcType=DECIMAL},
|
|
|
+ buyer_name = #{record.buyerName,jdbcType=VARCHAR},
|
|
|
+ payment_method = #{record.paymentMethod,jdbcType=INTEGER},
|
|
|
+ deadline = #{record.deadline,jdbcType=TIMESTAMP},
|
|
|
+ maintenance_funds = #{record.maintenanceFunds,jdbcType=DECIMAL},
|
|
|
+ maintenance_total_price = #{record.maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
+ contract_status = #{record.contractStatus,jdbcType=INTEGER},
|
|
|
+ customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
|
|
|
+ subscription_funds = #{record.subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ created_id = #{record.createdId,jdbcType=VARCHAR},
|
|
|
+ created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_id = #{record.updatedId,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -503,6 +580,9 @@
|
|
|
<if test="buyerMoney != null">
|
|
|
buyer_money = #{buyerMoney,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
+ <if test="buyerName != null">
|
|
|
+ buyer_name = #{buyerName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="paymentMethod != null">
|
|
|
payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -521,6 +601,21 @@
|
|
|
<if test="customerManagementId != null">
|
|
|
customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="subscriptionFunds != null">
|
|
|
+ subscription_funds = #{subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="createdId != null">
|
|
|
+ created_id = #{createdId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createdAt != null">
|
|
|
+ created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updatedAt != null">
|
|
|
+ updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updatedId != null">
|
|
|
+ updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="remark != null">
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -536,52 +631,64 @@
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.idea.customerManagement.model.ContractManage">
|
|
|
update contract_manage
|
|
|
set record_number = #{recordNumber,jdbcType=VARCHAR},
|
|
|
- contract_number = #{contractNumber,jdbcType=VARCHAR},
|
|
|
- seller = #{seller,jdbcType=VARCHAR},
|
|
|
- house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
- house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
- actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
|
|
|
- actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
|
|
|
- actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
|
|
|
- institution = #{institution,jdbcType=VARCHAR},
|
|
|
- signing_date = #{signingDate,jdbcType=TIMESTAMP},
|
|
|
- house_price = #{housePrice,jdbcType=DECIMAL},
|
|
|
- total_price = #{totalPrice,jdbcType=DECIMAL},
|
|
|
- buyer_proportion = #{buyerProportion,jdbcType=DOUBLE},
|
|
|
- buyer_money = #{buyerMoney,jdbcType=DECIMAL},
|
|
|
- payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
- deadline = #{deadline,jdbcType=TIMESTAMP},
|
|
|
- maintenance_funds = #{maintenanceFunds,jdbcType=DECIMAL},
|
|
|
- maintenance_total_price = #{maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
- contract_status = #{contractStatus,jdbcType=INTEGER},
|
|
|
- customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
- remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
- contract_original = #{contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
- contract_other = #{contractOther,jdbcType=LONGVARCHAR}
|
|
|
+ contract_number = #{contractNumber,jdbcType=VARCHAR},
|
|
|
+ seller = #{seller,jdbcType=VARCHAR},
|
|
|
+ house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
+ house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
+ actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
|
|
|
+ actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
|
|
|
+ actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
|
|
|
+ institution = #{institution,jdbcType=VARCHAR},
|
|
|
+ signing_date = #{signingDate,jdbcType=TIMESTAMP},
|
|
|
+ house_price = #{housePrice,jdbcType=DECIMAL},
|
|
|
+ total_price = #{totalPrice,jdbcType=DECIMAL},
|
|
|
+ buyer_proportion = #{buyerProportion,jdbcType=DOUBLE},
|
|
|
+ buyer_money = #{buyerMoney,jdbcType=DECIMAL},
|
|
|
+ buyer_name = #{buyerName,jdbcType=VARCHAR},
|
|
|
+ payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
+ deadline = #{deadline,jdbcType=TIMESTAMP},
|
|
|
+ maintenance_funds = #{maintenanceFunds,jdbcType=DECIMAL},
|
|
|
+ maintenance_total_price = #{maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
+ contract_status = #{contractStatus,jdbcType=INTEGER},
|
|
|
+ customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
+ subscription_funds = #{subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ created_id = #{createdId,jdbcType=VARCHAR},
|
|
|
+ created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
+ remark = #{remark,jdbcType=LONGVARCHAR},
|
|
|
+ contract_original = #{contractOriginal,jdbcType=LONGVARCHAR},
|
|
|
+ contract_other = #{contractOther,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.idea.customerManagement.model.ContractManage">
|
|
|
update contract_manage
|
|
|
set record_number = #{recordNumber,jdbcType=VARCHAR},
|
|
|
- contract_number = #{contractNumber,jdbcType=VARCHAR},
|
|
|
- seller = #{seller,jdbcType=VARCHAR},
|
|
|
- house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
- house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
- actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
|
|
|
- actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
|
|
|
- actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
|
|
|
- institution = #{institution,jdbcType=VARCHAR},
|
|
|
- signing_date = #{signingDate,jdbcType=TIMESTAMP},
|
|
|
- house_price = #{housePrice,jdbcType=DECIMAL},
|
|
|
- total_price = #{totalPrice,jdbcType=DECIMAL},
|
|
|
- buyer_proportion = #{buyerProportion,jdbcType=DOUBLE},
|
|
|
- buyer_money = #{buyerMoney,jdbcType=DECIMAL},
|
|
|
- payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
- deadline = #{deadline,jdbcType=TIMESTAMP},
|
|
|
- maintenance_funds = #{maintenanceFunds,jdbcType=DECIMAL},
|
|
|
- maintenance_total_price = #{maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
- contract_status = #{contractStatus,jdbcType=INTEGER},
|
|
|
- customer_management_id = #{customerManagementId,jdbcType=VARCHAR}
|
|
|
+ contract_number = #{contractNumber,jdbcType=VARCHAR},
|
|
|
+ seller = #{seller,jdbcType=VARCHAR},
|
|
|
+ house_id = #{houseId,jdbcType=VARCHAR},
|
|
|
+ house_name = #{houseName,jdbcType=VARCHAR},
|
|
|
+ actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
|
|
|
+ actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
|
|
|
+ actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
|
|
|
+ institution = #{institution,jdbcType=VARCHAR},
|
|
|
+ signing_date = #{signingDate,jdbcType=TIMESTAMP},
|
|
|
+ house_price = #{housePrice,jdbcType=DECIMAL},
|
|
|
+ total_price = #{totalPrice,jdbcType=DECIMAL},
|
|
|
+ buyer_proportion = #{buyerProportion,jdbcType=DOUBLE},
|
|
|
+ buyer_money = #{buyerMoney,jdbcType=DECIMAL},
|
|
|
+ buyer_name = #{buyerName,jdbcType=VARCHAR},
|
|
|
+ payment_method = #{paymentMethod,jdbcType=INTEGER},
|
|
|
+ deadline = #{deadline,jdbcType=TIMESTAMP},
|
|
|
+ maintenance_funds = #{maintenanceFunds,jdbcType=DECIMAL},
|
|
|
+ maintenance_total_price = #{maintenanceTotalPrice,jdbcType=DECIMAL},
|
|
|
+ contract_status = #{contractStatus,jdbcType=INTEGER},
|
|
|
+ customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
|
|
|
+ subscription_funds = #{subscriptionFunds,jdbcType=DECIMAL},
|
|
|
+ created_id = #{createdId,jdbcType=VARCHAR},
|
|
|
+ created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
|
+ updated_id = #{updatedId,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|