|
|
@@ -19,6 +19,8 @@
|
|
|
<result column="abandonment_date" jdbcType="TIMESTAMP" property="abandonmentDate" />
|
|
|
<result column="abandonment_at" jdbcType="TIMESTAMP" property="abandonmentAt" />
|
|
|
<result column="abandonment_id" jdbcType="VARCHAR" property="abandonmentId" />
|
|
|
+ <result column="ncid" jdbcType="VARCHAR" property="ncid" />
|
|
|
+ <result column="nc_code" jdbcType="VARCHAR" property="ncCode" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.customerManagement.model.CustomerManagement">
|
|
|
<result column="abandonment_remark" jdbcType="LONGVARCHAR" property="abandonmentRemark" />
|
|
|
@@ -85,7 +87,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
id, group_id, disc_id, batch_number, room_selection_number, room_selection_date,
|
|
|
status, house_id, house_name, buyer_name, created_id, created_at, updated_at, updated_id,
|
|
|
- abandonment_date, abandonment_at, abandonment_id
|
|
|
+ abandonment_date, abandonment_at, abandonment_id, ncid, nc_code
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
abandonment_remark, abandonment_file_list
|
|
|
@@ -144,15 +146,17 @@
|
|
|
status, house_id, house_name,
|
|
|
buyer_name, created_id, created_at,
|
|
|
updated_at, updated_id, abandonment_date,
|
|
|
- abandonment_at, abandonment_id, abandonment_remark,
|
|
|
- abandonment_file_list)
|
|
|
+ abandonment_at, abandonment_id, ncid,
|
|
|
+ nc_code, abandonment_remark, abandonment_file_list
|
|
|
+ )
|
|
|
values (#{id,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR}, #{discId,jdbcType=VARCHAR},
|
|
|
#{batchNumber,jdbcType=VARCHAR}, #{roomSelectionNumber,jdbcType=VARCHAR}, #{roomSelectionDate,jdbcType=TIMESTAMP},
|
|
|
#{status,jdbcType=INTEGER}, #{houseId,jdbcType=VARCHAR}, #{houseName,jdbcType=VARCHAR},
|
|
|
#{buyerName,jdbcType=VARCHAR}, #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
|
#{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR}, #{abandonmentDate,jdbcType=TIMESTAMP},
|
|
|
- #{abandonmentAt,jdbcType=TIMESTAMP}, #{abandonmentId,jdbcType=VARCHAR}, #{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
- #{abandonmentFileList,jdbcType=LONGVARCHAR})
|
|
|
+ #{abandonmentAt,jdbcType=TIMESTAMP}, #{abandonmentId,jdbcType=VARCHAR}, #{ncid,jdbcType=VARCHAR},
|
|
|
+ #{ncCode,jdbcType=VARCHAR}, #{abandonmentRemark,jdbcType=LONGVARCHAR}, #{abandonmentFileList,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.customerManagement.model.CustomerManagement">
|
|
|
insert into customer_management
|
|
|
@@ -208,6 +212,12 @@
|
|
|
<if test="abandonmentId != null">
|
|
|
abandonment_id,
|
|
|
</if>
|
|
|
+ <if test="ncid != null">
|
|
|
+ ncid,
|
|
|
+ </if>
|
|
|
+ <if test="ncCode != null">
|
|
|
+ nc_code,
|
|
|
+ </if>
|
|
|
<if test="abandonmentRemark != null">
|
|
|
abandonment_remark,
|
|
|
</if>
|
|
|
@@ -267,6 +277,12 @@
|
|
|
<if test="abandonmentId != null">
|
|
|
#{abandonmentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="ncid != null">
|
|
|
+ #{ncid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ncCode != null">
|
|
|
+ #{ncCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="abandonmentRemark != null">
|
|
|
#{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -335,6 +351,12 @@
|
|
|
<if test="record.abandonmentId != null">
|
|
|
abandonment_id = #{record.abandonmentId,jdbcType=VARCHAR},
|
|
|
</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.abandonmentRemark != null">
|
|
|
abandonment_remark = #{record.abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -365,6 +387,8 @@
|
|
|
abandonment_date = #{record.abandonmentDate,jdbcType=TIMESTAMP},
|
|
|
abandonment_at = #{record.abandonmentAt,jdbcType=TIMESTAMP},
|
|
|
abandonment_id = #{record.abandonmentId,jdbcType=VARCHAR},
|
|
|
+ ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
abandonment_remark = #{record.abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
abandonment_file_list = #{record.abandonmentFileList,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
@@ -389,7 +413,9 @@
|
|
|
updated_id = #{record.updatedId,jdbcType=VARCHAR},
|
|
|
abandonment_date = #{record.abandonmentDate,jdbcType=TIMESTAMP},
|
|
|
abandonment_at = #{record.abandonmentAt,jdbcType=TIMESTAMP},
|
|
|
- abandonment_id = #{record.abandonmentId,jdbcType=VARCHAR}
|
|
|
+ abandonment_id = #{record.abandonmentId,jdbcType=VARCHAR},
|
|
|
+ ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -445,6 +471,12 @@
|
|
|
<if test="abandonmentId != null">
|
|
|
abandonment_id = #{abandonmentId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="ncid != null">
|
|
|
+ ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ncCode != null">
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="abandonmentRemark != null">
|
|
|
abandonment_remark = #{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
@@ -472,6 +504,8 @@
|
|
|
abandonment_date = #{abandonmentDate,jdbcType=TIMESTAMP},
|
|
|
abandonment_at = #{abandonmentAt,jdbcType=TIMESTAMP},
|
|
|
abandonment_id = #{abandonmentId,jdbcType=VARCHAR},
|
|
|
+ ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
abandonment_remark = #{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
abandonment_file_list = #{abandonmentFileList,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
@@ -493,7 +527,9 @@
|
|
|
updated_id = #{updatedId,jdbcType=VARCHAR},
|
|
|
abandonment_date = #{abandonmentDate,jdbcType=TIMESTAMP},
|
|
|
abandonment_at = #{abandonmentAt,jdbcType=TIMESTAMP},
|
|
|
- abandonment_id = #{abandonmentId,jdbcType=VARCHAR}
|
|
|
+ abandonment_id = #{abandonmentId,jdbcType=VARCHAR},
|
|
|
+ ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|