|
@@ -25,6 +25,7 @@
|
|
</resultMap>
|
|
</resultMap>
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.paymentManagement.model.PayLog">
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.paymentManagement.model.PayLog">
|
|
<result column="file_list" jdbcType="LONGVARCHAR" property="fileList" />
|
|
<result column="file_list" jdbcType="LONGVARCHAR" property="fileList" />
|
|
|
|
+ <result column="nc_json" jdbcType="LONGVARCHAR" property="ncJson" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<where>
|
|
@@ -90,7 +91,7 @@
|
|
serial_number, remark, created_by, created_at, updated_by, updated_at
|
|
serial_number, remark, created_by, created_at, updated_by, updated_at
|
|
</sql>
|
|
</sql>
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
- file_list
|
|
|
|
|
|
+ file_list, nc_json
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.idea.paymentManagement.model.PayLogExample" resultMap="ResultMapWithBLOBs">
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.idea.paymentManagement.model.PayLogExample" resultMap="ResultMapWithBLOBs">
|
|
select
|
|
select
|
|
@@ -147,16 +148,16 @@
|
|
pay_money, pay_time, payment_method,
|
|
pay_money, pay_time, payment_method,
|
|
status, payment_status, serial_number,
|
|
status, payment_status, serial_number,
|
|
remark, created_by, created_at,
|
|
remark, created_by, created_at,
|
|
- updated_by, updated_at, file_list
|
|
|
|
- )
|
|
|
|
|
|
+ updated_by, updated_at, file_list,
|
|
|
|
+ nc_json)
|
|
values (#{id,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR},
|
|
#{customerManagementId,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, #{contentType,jdbcType=INTEGER},
|
|
#{customerManagementId,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, #{contentType,jdbcType=INTEGER},
|
|
#{bankName,jdbcType=VARCHAR}, #{bankBranchName,jdbcType=VARCHAR}, #{bankNumber,jdbcType=CHAR},
|
|
#{bankName,jdbcType=VARCHAR}, #{bankBranchName,jdbcType=VARCHAR}, #{bankNumber,jdbcType=CHAR},
|
|
#{payMoney,jdbcType=DECIMAL}, #{payTime,jdbcType=TIMESTAMP}, #{paymentMethod,jdbcType=INTEGER},
|
|
#{payMoney,jdbcType=DECIMAL}, #{payTime,jdbcType=TIMESTAMP}, #{paymentMethod,jdbcType=INTEGER},
|
|
#{status,jdbcType=INTEGER}, #{paymentStatus,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR},
|
|
#{status,jdbcType=INTEGER}, #{paymentStatus,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR},
|
|
#{remark,jdbcType=VARCHAR}, #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
#{remark,jdbcType=VARCHAR}, #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
|
|
- #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{fileList,jdbcType=LONGVARCHAR}
|
|
|
|
- )
|
|
|
|
|
|
+ #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{fileList,jdbcType=LONGVARCHAR},
|
|
|
|
+ #{ncJson,jdbcType=LONGVARCHAR})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.idea.paymentManagement.model.PayLog">
|
|
<insert id="insertSelective" parameterType="com.idea.paymentManagement.model.PayLog">
|
|
insert into pay_log
|
|
insert into pay_log
|
|
@@ -224,6 +225,9 @@
|
|
<if test="fileList != null">
|
|
<if test="fileList != null">
|
|
file_list,
|
|
file_list,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="ncJson != null">
|
|
|
|
+ nc_json,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -289,6 +293,9 @@
|
|
<if test="fileList != null">
|
|
<if test="fileList != null">
|
|
#{fileList,jdbcType=LONGVARCHAR},
|
|
#{fileList,jdbcType=LONGVARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="ncJson != null">
|
|
|
|
+ #{ncJson,jdbcType=LONGVARCHAR},
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.idea.paymentManagement.model.PayLogExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.idea.paymentManagement.model.PayLogExample" resultType="java.lang.Long">
|
|
@@ -363,6 +370,9 @@
|
|
<if test="record.fileList != null">
|
|
<if test="record.fileList != null">
|
|
file_list = #{record.fileList,jdbcType=LONGVARCHAR},
|
|
file_list = #{record.fileList,jdbcType=LONGVARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.ncJson != null">
|
|
|
|
+ nc_json = #{record.ncJson,jdbcType=LONGVARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -390,7 +400,8 @@
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
|
|
updated_by = #{record.updatedBy,jdbcType=VARCHAR},
|
|
updated_by = #{record.updatedBy,jdbcType=VARCHAR},
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
|
|
- file_list = #{record.fileList,jdbcType=LONGVARCHAR}
|
|
|
|
|
|
+ file_list = #{record.fileList,jdbcType=LONGVARCHAR},
|
|
|
|
+ nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -484,6 +495,9 @@
|
|
<if test="fileList != null">
|
|
<if test="fileList != null">
|
|
file_list = #{fileList,jdbcType=LONGVARCHAR},
|
|
file_list = #{fileList,jdbcType=LONGVARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="ncJson != null">
|
|
|
|
+ nc_json = #{ncJson,jdbcType=LONGVARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
@@ -508,7 +522,8 @@
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP},
|
|
updated_by = #{updatedBy,jdbcType=VARCHAR},
|
|
updated_by = #{updatedBy,jdbcType=VARCHAR},
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
|
|
- file_list = #{fileList,jdbcType=LONGVARCHAR}
|
|
|
|
|
|
+ file_list = #{fileList,jdbcType=LONGVARCHAR},
|
|
|
|
+ nc_json = #{ncJson,jdbcType=LONGVARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
<update id="updateByPrimaryKey" parameterType="com.idea.paymentManagement.model.PayLog">
|
|
<update id="updateByPrimaryKey" parameterType="com.idea.paymentManagement.model.PayLog">
|