|
@@ -386,6 +386,94 @@
|
|
|
</set>
|
|
|
where company_name = BINARY #{companyName,jdbcType=VARCHAR} and bussiness_type = #{bussinessType,jdbcType=INTEGER} and company_referenceNum = #{companyReferencenum,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <update id="updateByPrimaryKeySelectiveUpload" parameterType="com.jkcredit.invoice.model.entity.customer.CustomerRec" >
|
|
|
+ update t_customer_rec
|
|
|
+ <set >
|
|
|
+ <if test="companyLeader != null" >
|
|
|
+ company_leader = #{companyLeader,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyLeaderPhone != null" >
|
|
|
+ company_leader_Phone = #{companyLeaderPhone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyName != null" >
|
|
|
+ company_name = #{companyName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyReferencenum != null" >
|
|
|
+ company_referenceNum = #{companyReferencenum,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyOpenbank != null" >
|
|
|
+ company_openbank = #{companyOpenbank,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyOpenbankAcc != null" >
|
|
|
+ company_openbank_acc = #{companyOpenbankAcc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyAdress != null" >
|
|
|
+ company_adress = #{companyAdress,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="companyPhone != null" >
|
|
|
+ company_phone = #{companyPhone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createtime != null" >
|
|
|
+ createTime = #{createtime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="companyBelongName != null" >
|
|
|
+ company_belong_name = #{companyBelongName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="recStatus != null" >
|
|
|
+ rec_status = #{recStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="interType != null" >
|
|
|
+ inter_type = #{interType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="bussinessType != null" >
|
|
|
+ bussiness_type = #{bussinessType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="companyType != null" >
|
|
|
+ company_type = #{companyType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="operatingRangeType != null" >
|
|
|
+ operating_rangeType = #{operatingRangeType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="companyNum != null" >
|
|
|
+ company_num = #{companyNum,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serviceStartTime != null" >
|
|
|
+ service_startTime = #{serviceStartTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serviceEndTime != null" >
|
|
|
+ service_endTime = #{serviceEndTime,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="serviceType != null" >
|
|
|
+ service_type = #{serviceType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="contractFileName != null" >
|
|
|
+ contractFileName = #{contractFileName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="base64Str != null" >
|
|
|
+ base64Str = #{base64Str,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="contractSuc != null" >
|
|
|
+ contractSuc = #{contractSuc,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="contrantNum != null" >
|
|
|
+ contrantNum = #{contrantNum,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="lowerFileName != null" >
|
|
|
+ lowerFileName = #{lowerFileName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="lowerBase64Str != null" >
|
|
|
+ lowerBase64Str = #{lowerBase64Str,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="fileMessage != null" >
|
|
|
+ fileMessage = #{fileMessage,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = BINARY #{id,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.jkcredit.invoice.model.entity.customer.CustomerRec" >
|
|
|
update t_customer_rec
|
|
|
set company_leader = #{companyLeader,jdbcType=VARCHAR},
|