|
@@ -22,6 +22,7 @@
|
|
|
<result column="abandonment_id" jdbcType="VARCHAR" property="abandonmentId" />
|
|
|
<result column="ncid" jdbcType="VARCHAR" property="ncid" />
|
|
|
<result column="nc_code" jdbcType="VARCHAR" property="ncCode" />
|
|
|
+ <result column="send_flag" jdbcType="VARCHAR" property="sendFlag" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.customerManagement.model.CustomerManagement">
|
|
|
<result column="abandonment_remark" jdbcType="LONGVARCHAR" property="abandonmentRemark" />
|
|
@@ -88,7 +89,8 @@
|
|
|
<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, buyer_identity_card, created_id, created_at,
|
|
|
- updated_at, updated_id, abandonment_date, abandonment_at, abandonment_id, ncid, nc_code
|
|
|
+ updated_at, updated_id, abandonment_date, abandonment_at, abandonment_id, ncid, nc_code,
|
|
|
+ send_flag
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
abandonment_remark, abandonment_file_list
|
|
@@ -148,16 +150,18 @@
|
|
|
buyer_name, buyer_identity_card, created_id,
|
|
|
created_at, updated_at, updated_id,
|
|
|
abandonment_date, abandonment_at, abandonment_id,
|
|
|
- ncid, nc_code, abandonment_remark,
|
|
|
- abandonment_file_list)
|
|
|
+ ncid, nc_code, send_flag,
|
|
|
+ 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}, #{buyerIdentityCard,jdbcType=VARCHAR}, #{createdId,jdbcType=VARCHAR},
|
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR},
|
|
|
#{abandonmentDate,jdbcType=TIMESTAMP}, #{abandonmentAt,jdbcType=TIMESTAMP}, #{abandonmentId,jdbcType=VARCHAR},
|
|
|
- #{ncid,jdbcType=VARCHAR}, #{ncCode,jdbcType=VARCHAR}, #{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
- #{abandonmentFileList,jdbcType=LONGVARCHAR})
|
|
|
+ #{ncid,jdbcType=VARCHAR}, #{ncCode,jdbcType=VARCHAR}, #{sendFlag,jdbcType=VARCHAR},
|
|
|
+ #{abandonmentRemark,jdbcType=LONGVARCHAR}, #{abandonmentFileList,jdbcType=LONGVARCHAR}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.customerManagement.model.CustomerManagement">
|
|
|
insert into customer_management
|
|
@@ -222,6 +226,9 @@
|
|
|
<if test="ncCode != null">
|
|
|
nc_code,
|
|
|
</if>
|
|
|
+ <if test="sendFlag != null">
|
|
|
+ send_flag,
|
|
|
+ </if>
|
|
|
<if test="abandonmentRemark != null">
|
|
|
abandonment_remark,
|
|
|
</if>
|
|
@@ -290,6 +297,9 @@
|
|
|
<if test="ncCode != null">
|
|
|
#{ncCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="sendFlag != null">
|
|
|
+ #{sendFlag,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="abandonmentRemark != null">
|
|
|
#{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -367,6 +377,9 @@
|
|
|
<if test="record.ncCode != null">
|
|
|
nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="record.sendFlag != null">
|
|
|
+ send_flag = #{record.sendFlag,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="record.abandonmentRemark != null">
|
|
|
abandonment_remark = #{record.abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -400,6 +413,7 @@
|
|
|
abandonment_id = #{record.abandonmentId,jdbcType=VARCHAR},
|
|
|
ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
+ send_flag = #{record.sendFlag,jdbcType=VARCHAR},
|
|
|
abandonment_remark = #{record.abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
abandonment_file_list = #{record.abandonmentFileList,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
@@ -427,7 +441,8 @@
|
|
|
abandonment_at = #{record.abandonmentAt,jdbcType=TIMESTAMP},
|
|
|
abandonment_id = #{record.abandonmentId,jdbcType=VARCHAR},
|
|
|
ncid = #{record.ncid,jdbcType=VARCHAR},
|
|
|
- nc_code = #{record.ncCode,jdbcType=VARCHAR}
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
+ send_flag = #{record.sendFlag,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -492,6 +507,9 @@
|
|
|
<if test="ncCode != null">
|
|
|
nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="sendFlag != null">
|
|
|
+ send_flag = #{sendFlag,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="abandonmentRemark != null">
|
|
|
abandonment_remark = #{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -522,6 +540,7 @@
|
|
|
abandonment_id = #{abandonmentId,jdbcType=VARCHAR},
|
|
|
ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
+ send_flag = #{sendFlag,jdbcType=VARCHAR},
|
|
|
abandonment_remark = #{abandonmentRemark,jdbcType=LONGVARCHAR},
|
|
|
abandonment_file_list = #{abandonmentFileList,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
@@ -546,7 +565,8 @@
|
|
|
abandonment_at = #{abandonmentAt,jdbcType=TIMESTAMP},
|
|
|
abandonment_id = #{abandonmentId,jdbcType=VARCHAR},
|
|
|
ncid = #{ncid,jdbcType=VARCHAR},
|
|
|
- nc_code = #{ncCode,jdbcType=VARCHAR}
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
+ send_flag = #{sendFlag,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|