|
|
|
@ -23,6 +23,7 @@
|
|
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
|
<result column="cryp_digest" jdbcType="VARCHAR" property="crypDigest" />
|
|
|
|
|
<result column="information_ciphertext" jdbcType="VARCHAR" property="informationCiphertext" />
|
|
|
|
|
<result column="sequence" jdbcType="INTEGER" property="sequence" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
|
<where>
|
|
|
|
@ -87,7 +88,7 @@
|
|
|
|
|
signature_verification_status_encry, signature_verification_status, user_id, discount_display,
|
|
|
|
|
supplier_display, core_enterprise_display, core_enterprise_receive_status, factoring_company_display,
|
|
|
|
|
factoring_companies_receive_status, read_status, download_status, create_time, update_time,
|
|
|
|
|
cryp_digest, information_ciphertext
|
|
|
|
|
cryp_digest, information_ciphertext, sequence
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.block_finance.entity.StuTransactionDocumentsInfoExample" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
@ -127,8 +128,8 @@
|
|
|
|
|
core_enterprise_display, core_enterprise_receive_status,
|
|
|
|
|
factoring_company_display, factoring_companies_receive_status,
|
|
|
|
|
read_status, download_status, create_time,
|
|
|
|
|
update_time, cryp_digest, information_ciphertext
|
|
|
|
|
)
|
|
|
|
|
update_time, cryp_digest, information_ciphertext,
|
|
|
|
|
sequence)
|
|
|
|
|
values (#{id,jdbcType=INTEGER}, #{fileName,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR},
|
|
|
|
|
#{uploadStatus,jdbcType=INTEGER}, #{informationStatus,jdbcType=INTEGER}, #{informationStatusEncry,jdbcType=INTEGER},
|
|
|
|
|
#{signatureVerificationStatusEncry,jdbcType=INTEGER}, #{signatureVerificationStatus,jdbcType=INTEGER},
|
|
|
|
@ -136,8 +137,8 @@
|
|
|
|
|
#{coreEnterpriseDisplay,jdbcType=INTEGER}, #{coreEnterpriseReceiveStatus,jdbcType=INTEGER},
|
|
|
|
|
#{factoringCompanyDisplay,jdbcType=INTEGER}, #{factoringCompaniesReceiveStatus,jdbcType=INTEGER},
|
|
|
|
|
#{readStatus,jdbcType=INTEGER}, #{downloadStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{crypDigest,jdbcType=VARCHAR}, #{informationCiphertext,jdbcType=VARCHAR}
|
|
|
|
|
)
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{crypDigest,jdbcType=VARCHAR}, #{informationCiphertext,jdbcType=VARCHAR},
|
|
|
|
|
#{sequence,jdbcType=INTEGER})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.block_finance.entity.StuTransactionDocumentsInfo">
|
|
|
|
|
insert into stu_transaction_documents_info
|
|
|
|
@ -205,6 +206,9 @@
|
|
|
|
|
<if test="informationCiphertext != null">
|
|
|
|
|
information_ciphertext,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="sequence != null">
|
|
|
|
|
sequence,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">
|
|
|
|
@ -270,6 +274,9 @@
|
|
|
|
|
<if test="informationCiphertext != null">
|
|
|
|
|
#{informationCiphertext,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="sequence != null">
|
|
|
|
|
#{sequence,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.block_finance.entity.StuTransactionDocumentsInfoExample" resultType="java.lang.Long">
|
|
|
|
@ -344,6 +351,9 @@
|
|
|
|
|
<if test="record.informationCiphertext != null">
|
|
|
|
|
information_ciphertext = #{record.informationCiphertext,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.sequence != null">
|
|
|
|
|
sequence = #{record.sequence,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -371,7 +381,8 @@
|
|
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
cryp_digest = #{record.crypDigest,jdbcType=VARCHAR},
|
|
|
|
|
information_ciphertext = #{record.informationCiphertext,jdbcType=VARCHAR}
|
|
|
|
|
information_ciphertext = #{record.informationCiphertext,jdbcType=VARCHAR},
|
|
|
|
|
sequence = #{record.sequence,jdbcType=INTEGER}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
@ -439,6 +450,9 @@
|
|
|
|
|
<if test="informationCiphertext != null">
|
|
|
|
|
information_ciphertext = #{informationCiphertext,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="sequence != null">
|
|
|
|
|
sequence = #{sequence,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
|
</update>
|
|
|
|
@ -463,7 +477,8 @@
|
|
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
cryp_digest = #{crypDigest,jdbcType=VARCHAR},
|
|
|
|
|
information_ciphertext = #{informationCiphertext,jdbcType=VARCHAR}
|
|
|
|
|
information_ciphertext = #{informationCiphertext,jdbcType=VARCHAR},
|
|
|
|
|
sequence = #{sequence,jdbcType=INTEGER}
|
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
|
</update>
|
|
|
|
|
</mapper>
|