Merge remote-tracking branch 'origin/cc_20230520_partner' into cc_20230520_partner

This commit is contained in:
俞扬
2023-06-28 16:48:19 +08:00
11 changed files with 192 additions and 192 deletions

View File

@@ -6,20 +6,6 @@
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
<result column="partner_interview_id" jdbcType="BIGINT" property="partnerInterviewId" />
<result column="partnership" jdbcType="VARCHAR" property="partnership" />
<result column="want_sign_time" jdbcType="TIMESTAMP" property="wantSignTime" />
<result column="partner_fee" jdbcType="VARCHAR" property="partnerFee" />
<result column="security_fund" jdbcType="VARCHAR" property="securityFund" />
<result column="technical_service_fee" jdbcType="VARCHAR" property="technicalServiceFee" />
<result column="intention_money" jdbcType="VARCHAR" property="intentionMoney" />
<result column="intention_signer_username" jdbcType="VARCHAR" property="intentionSignerUsername" />
<result column="intention_signer_mobile" jdbcType="VARCHAR" property="intentionSignerMobile" />
<result column="intention_edu" jdbcType="VARCHAR" property="intentionEdu" />
<result column="real_control_username" jdbcType="VARCHAR" property="realControlUsername" />
<result column="real_control_idcard" jdbcType="VARCHAR" property="realControlIdcard" />
<result column="signer_real_control_relation" jdbcType="VARCHAR" property="signerRealControlRelation" />
<result column="signer_other_real_control_relation" jdbcType="VARCHAR" property="signerOtherRealControlRelation" />
<result column="signer_real_control_relation_cert" jdbcType="VARCHAR" property="signerRealControlRelationCert" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap>
@@ -42,53 +28,17 @@
<if test="record.partnerInterviewId != null">
partner_interview_id,
</if>
<if test="record.partnership != null">
partnership,
</if>
<if test="record.qualifyVerifyId != null">
qualify_verify_id,
</if>
<if test="record.intentionContractNo != null">
intention_contract_no,
</if>
<if test="record.wantSignTime != null">
want_sign_time,
<if test="record.dataSource != null">
data_source,
</if>
<if test="record.partnerFee != null">
partner_fee,
</if>
<if test="record.securityFund != null">
security_fund,
</if>
<if test="record.technicalServiceFee != null">
technical_service_fee,
</if>
<if test="record.intentionMoney != null">
intention_money,
</if>
<if test="record.intentionSignerUsername != null">
intention_signer_username,
</if>
<if test="record.intentionSignerMobile != null">
intention_signer_mobile,
</if>
<if test="record.intentionEdu != null">
intention_edu,
</if>
<if test="record.realControlUsername != null">
real_control_username,
</if>
<if test="record.realControlIdcard != null">
real_control_idcard,
</if>
<if test="record.signerRealControlRelation != null">
signer_real_control_relation,
</if>
<if test="record.signerOtherRealControlRelation != null">
signer_other_real_control_relation,
</if>
<if test="record.signerRealControlRelationCert != null">
signer_real_control_relation_cert,
<if test="record.certificationInfoRecordJson != null">
certification_info_record_json,
</if>
<if test="record.createTime != null">
create_time,
@@ -107,56 +57,17 @@
<if test="record.partnerInterviewId != null">
#{record.partnerInterviewId},
</if>
<if test="record.partnership != null">
#{record.partnership},
</if>
<if test="record.qualifyVerifyId != null">
#{record.qualifyVerifyId},
</if>
<if test="record.intentionContractNo != null">
#{record.intentionContractNo},
</if>
<if test="record.wantSignTime != null">
#{record.wantSignTime},
</if>
<if test="record.dataSource != null">
#{record.dataSource},
</if>
<if test="record.partnerFee != null">
#{record.partnerFee},
</if>
<if test="record.securityFund != null">
#{record.securityFund},
</if>
<if test="record.technicalServiceFee != null">
#{record.technicalServiceFee},
</if>
<if test="record.intentionMoney != null">
#{record.intentionMoney},
</if>
<if test="record.intentionSignerUsername != null">
#{record.intentionSignerUsername},
</if>
<if test="record.intentionSignerMobile != null">
#{record.intentionSignerMobile},
</if>
<if test="record.intentionEdu != null">
#{record.intentionEdu},
</if>
<if test="record.realControlUsername != null">
#{record.realControlUsername},
</if>
<if test="record.realControlIdcard != null">
#{record.realControlIdcard},
</if>
<if test="record.signerRealControlRelation != null">
#{record.signerRealControlRelation},
</if>
<if test="record.signerOtherRealControlRelation != null">
#{record.signerOtherRealControlRelation},
</if>
<if test="record.signerRealControlRelationCert != null">
#{record.signerRealControlRelationCert},
<if test="record.certificationInfoRecordJson != null">
#{record.certificationInfoRecordJson},
</if>
<if test="record.createTime != null">
#{record.createTime},
@@ -178,53 +89,17 @@
<if test="record.partnerInterviewId != null">
partner_interview_id = #{record.partnerInterviewId},
</if>
<if test="record.partnership != null">
partnership = #{record.partnership},
</if>
<if test="record.qualifyVerifyId != null">
qualify_verify_id = #{record.qualifyVerifyId},
</if>
<if test="record.intentionContractNo != null">
intention_contract_no = #{record.intentionContractNo},
</if>
<if test="record.wantSignTime != null">
want_sign_time = #{record.wantSignTime},
<if test="record.dataSource != null">
data_source = #{record.dataSource},
</if>
<if test="record.partnerFee != null">
partner_fee = #{record.partnerFee},
</if>
<if test="record.securityFund != null">
security_fund = #{record.securityFund},
</if>
<if test="record.technicalServiceFee != null">
technical_service_fee = #{record.technicalServiceFee},
</if>
<if test="record.intentionMoney != null">
intention_money = #{record.intentionMoney},
</if>
<if test="record.intentionSignerUsername != null">
intention_signer_username = #{record.intentionSignerUsername},
</if>
<if test="record.intentionSignerMobile != null">
intention_signer_mobile = #{record.intentionSignerMobile},
</if>
<if test="record.intentionEdu != null">
intention_edu = #{record.intentionEdu},
</if>
<if test="record.realControlUsername != null">
real_control_username = #{record.realControlUsername},
</if>
<if test="record.realControlIdcard != null">
real_control_idcard = #{record.realControlIdcard},
</if>
<if test="record.signerRealControlRelation != null">
signer_real_control_relation = #{record.signerRealControlRelation},
</if>
<if test="record.signerOtherRealControlRelation != null">
signer_other_real_control_relation = #{record.signerOtherRealControlRelation},
</if>
<if test="record.signerRealControlRelationCert != null">
signer_real_control_relation_cert = #{record.signerRealControlRelationCert},
<if test="record.certificationInfoRecordJson != null">
certification_info_record_json = #{record.certificationInfoRecordJson},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime},

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.MdmAreaMapper">
<!-- 获取 MDM 省级地区数据 -->
<select id="getProvince" resultType="com.cool.store.entity.MDMAreaDO">
SELECT id, instance_id, code, area_name, parent_code
FROM mdm_area
WHERE parent_code = '0'
</select>
<!-- 获取子级区域 -->
<select id="getSonArea" resultType="com.cool.store.entity.MDMAreaDO">
SELECT id, instance_id, code, area_name, parent_code
FROM mdm_area
WHERE parent_code = #{code}
</select>
</mapper>