|
@@ -123,6 +123,30 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where p_id = #{pId}
|
|
|
</update>
|
|
|
|
|
|
+ <update id="updateProcessInfoByProcessId" parameterType="ProcessInfo">
|
|
|
+ update t_process_info
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
+ <if test="processId != null">process_id = #{processId},</if>
|
|
|
+ <if test="processStsCd != null">process_sts_cd = #{processStsCd},</if>
|
|
|
+ <if test="premiumAmt != null">premium_amt = #{premiumAmt},</if>
|
|
|
+ <if test="loanAmt != null">loan_amt = #{loanAmt},</if>
|
|
|
+ <if test="policySignUrl != null">policy_sign_url = #{policySignUrl},</if>
|
|
|
+ <if test="policyDlUrl != null">policy_dl_url = #{policyDlUrl},</if>
|
|
|
+ <if test="eInvoiceUrl != null">e_invoice_url = #{eInvoiceUrl},</if>
|
|
|
+ <if test="projectId != null">project_id = #{projectId},</if>
|
|
|
+ <if test="companyId != null">company_id = #{companyId},</if>
|
|
|
+ <if test="expireTime != null">expire_time = #{expireTime},</if>
|
|
|
+ <if test="approvedTime != null">approved_time = #{approvedTime},</if>
|
|
|
+ <if test="postscript != null">postscript = #{postscript},</if>
|
|
|
+ <if test="rejectReason != null">reject_reason = #{rejectReason},</if>
|
|
|
+ <if test="applyTime != null">apply_time = #{applyTime},</if>
|
|
|
+ <if test="createBy != null">create_by = #{createBy},</if>
|
|
|
+ <if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
+ <if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
+ </trim>
|
|
|
+ where process_id = #{processId}
|
|
|
+ </update>
|
|
|
+
|
|
|
<delete id="deleteProcessInfoByPId" parameterType="Long">
|
|
|
delete from t_process_info where p_id = #{pId}
|
|
|
</delete>
|