|
|
|
@ -3,38 +3,33 @@
|
|
|
|
|
<mapper namespace="com.sztzjy.digital_credit.mapper.StuUserMapper">
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.sztzjy.digital_credit.entity.StuUser">
|
|
|
|
|
<id column="user_id" jdbcType="VARCHAR" property="userId" />
|
|
|
|
|
<result column="username" jdbcType="VARCHAR" property="username" />
|
|
|
|
|
<result column="password" jdbcType="VARCHAR" property="password" />
|
|
|
|
|
<result column="student_id" jdbcType="VARCHAR" property="studentId" />
|
|
|
|
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
|
|
<result column="role_id" jdbcType="VARCHAR" property="roleId" />
|
|
|
|
|
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
|
|
|
|
<result column="school_name" jdbcType="VARCHAR" property="schoolName" />
|
|
|
|
|
<result column="password" jdbcType="VARCHAR" property="password" />
|
|
|
|
|
<result column="role_id" jdbcType="INTEGER" property="roleId" />
|
|
|
|
|
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
|
|
|
|
<result column="class_name" jdbcType="VARCHAR" property="className" />
|
|
|
|
|
<result column="phone" jdbcType="VARCHAR" property="phone" />
|
|
|
|
|
<result column="college_id" jdbcType="VARCHAR" property="collegeId" />
|
|
|
|
|
<result column="college_name" jdbcType="VARCHAR" property="collegeName" />
|
|
|
|
|
<result column="student_id" jdbcType="VARCHAR" property="studentId" />
|
|
|
|
|
<result column="major" jdbcType="VARCHAR" property="major" />
|
|
|
|
|
<result column="major_id" jdbcType="VARCHAR" property="majorId" />
|
|
|
|
|
<result column="major_name" jdbcType="VARCHAR" property="majorName" />
|
|
|
|
|
<result column="five_score" jdbcType="DECIMAL" property="fiveScore" />
|
|
|
|
|
<result column="artificial_intelligence_score" jdbcType="DECIMAL" property="artificialIntelligenceScore" />
|
|
|
|
|
<result column="big_data_score" jdbcType="DECIMAL" property="bigDataScore" />
|
|
|
|
|
<result column="cloud_compute_score" jdbcType="DECIMAL" property="cloudComputeScore" />
|
|
|
|
|
<result column="internet_of_things_socre" jdbcType="DECIMAL" property="internetOfThingsSocre" />
|
|
|
|
|
<result column="virtual_reality_socre" jdbcType="DECIMAL" property="virtualRealitySocre" />
|
|
|
|
|
<result column="industrial_internet_socre" jdbcType="DECIMAL" property="industrialInternetSocre" />
|
|
|
|
|
<result column="digital_industry_score" jdbcType="DECIMAL" property="digitalIndustryScore" />
|
|
|
|
|
<result column="digital_industry_rank" jdbcType="INTEGER" property="digitalIndustryRank" />
|
|
|
|
|
<result column="digital_gover_socre" jdbcType="DECIMAL" property="digitalGoverSocre" />
|
|
|
|
|
<result column="digital_gover_rank" jdbcType="INTEGER" property="digitalGoverRank" />
|
|
|
|
|
<result column="digital_trade_score" jdbcType="DECIMAL" property="digitalTradeScore" />
|
|
|
|
|
<result column="digital_finance_score" jdbcType="DECIMAL" property="digitalFinanceScore" />
|
|
|
|
|
<result column="value_data_score" jdbcType="DECIMAL" property="valueDataScore" />
|
|
|
|
|
<result column="value_data_rank" jdbcType="INTEGER" property="valueDataRank" />
|
|
|
|
|
<result column="industry_digital_score" jdbcType="DECIMAL" property="industryDigitalScore" />
|
|
|
|
|
<result column="industry_digital_rank" jdbcType="INTEGER" property="industryDigitalRank" />
|
|
|
|
|
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
|
|
|
|
<result column="school_name" jdbcType="VARCHAR" property="schoolName" />
|
|
|
|
|
<result column="hash_function_score" jdbcType="DECIMAL" property="hashFunctionScore" />
|
|
|
|
|
<result column="blockchain_score" jdbcType="DECIMAL" property="blockchainScore" />
|
|
|
|
|
<result column="data_layer_score" jdbcType="DECIMAL" property="dataLayerScore" />
|
|
|
|
|
<result column="network_layer_score" jdbcType="DECIMAL" property="networkLayerScore" />
|
|
|
|
|
<result column="consensus_layer_socre" jdbcType="DECIMAL" property="consensusLayerSocre" />
|
|
|
|
|
<result column="exciting_layer_socre" jdbcType="DECIMAL" property="excitingLayerSocre" />
|
|
|
|
|
<result column="contract_layer_socre" jdbcType="DECIMAL" property="contractLayerSocre" />
|
|
|
|
|
<result column="concept_score" jdbcType="DECIMAL" property="conceptScore" />
|
|
|
|
|
<result column="concept_rank" jdbcType="INTEGER" property="conceptRank" />
|
|
|
|
|
<result column="technology_socre" jdbcType="DECIMAL" property="technologySocre" />
|
|
|
|
|
<result column="technology_rank" jdbcType="INTEGER" property="technologyRank" />
|
|
|
|
|
<result column="digital_currency_score" jdbcType="DECIMAL" property="digitalCurrencyScore" />
|
|
|
|
|
<result column="digital_currency_rank" jdbcType="INTEGER" property="digitalCurrencyRank" />
|
|
|
|
|
<result column="invoice_score" jdbcType="DECIMAL" property="invoiceScore" />
|
|
|
|
|
<result column="supply_chain_finance_score" jdbcType="DECIMAL" property="supplyChainFinanceScore" />
|
|
|
|
|
<result column="traceability_and_anti_counterfeiting_score" jdbcType="DECIMAL" property="traceabilityAndAntiCounterfeitingScore" />
|
|
|
|
|
<result column="ticket_results_score" jdbcType="DECIMAL" property="ticketResultsScore" />
|
|
|
|
|
<result column="cross_border_payment_results_score" jdbcType="DECIMAL" property="crossBorderPaymentResultsScore" />
|
|
|
|
|
<result column="total_rank" jdbcType="INTEGER" property="totalRank" />
|
|
|
|
|
<result column="total_score" jdbcType="DECIMAL" property="totalScore" />
|
|
|
|
|
</resultMap>
|
|
|
|
@ -97,13 +92,12 @@
|
|
|
|
|
</where>
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
user_id, username, password, name, role_id, school_id, school_name, class_id, class_name,
|
|
|
|
|
phone, college_id, college_name, student_id, major, major_id, major_name, five_score,
|
|
|
|
|
artificial_intelligence_score, big_data_score, cloud_compute_score, internet_of_things_socre,
|
|
|
|
|
virtual_reality_socre, industrial_internet_socre, digital_industry_score, digital_industry_rank,
|
|
|
|
|
digital_gover_socre, digital_gover_rank, digital_trade_score, digital_finance_score,
|
|
|
|
|
value_data_score, value_data_rank, industry_digital_score, industry_digital_rank,
|
|
|
|
|
total_rank, total_score
|
|
|
|
|
user_id, student_id, name, password, role_id, class_id, class_name, major, school_id,
|
|
|
|
|
school_name, hash_function_score, blockchain_score, data_layer_score, network_layer_score,
|
|
|
|
|
consensus_layer_socre, exciting_layer_socre, contract_layer_socre, concept_score,
|
|
|
|
|
concept_rank, technology_socre, technology_rank, digital_currency_score, digital_currency_rank,
|
|
|
|
|
invoice_score, supply_chain_finance_score, traceability_and_anti_counterfeiting_score,
|
|
|
|
|
ticket_results_score, cross_border_payment_results_score, total_rank, total_score
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.digital_credit.entity.StuUserExample" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
@ -136,32 +130,30 @@
|
|
|
|
|
</if>
|
|
|
|
|
</delete>
|
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.digital_credit.entity.StuUser">
|
|
|
|
|
insert into stu_user (user_id, username, password,
|
|
|
|
|
name, role_id, school_id,
|
|
|
|
|
school_name, class_id, class_name,
|
|
|
|
|
phone, college_id, college_name,
|
|
|
|
|
student_id, major, major_id,
|
|
|
|
|
major_name, five_score, artificial_intelligence_score,
|
|
|
|
|
big_data_score, cloud_compute_score, internet_of_things_socre,
|
|
|
|
|
virtual_reality_socre, industrial_internet_socre,
|
|
|
|
|
digital_industry_score, digital_industry_rank,
|
|
|
|
|
digital_gover_socre, digital_gover_rank, digital_trade_score,
|
|
|
|
|
digital_finance_score, value_data_score, value_data_rank,
|
|
|
|
|
industry_digital_score, industry_digital_rank,
|
|
|
|
|
total_rank, total_score)
|
|
|
|
|
values (#{userId,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
|
|
|
|
|
#{name,jdbcType=VARCHAR}, #{roleId,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
#{schoolName,jdbcType=VARCHAR}, #{classId,jdbcType=VARCHAR}, #{className,jdbcType=VARCHAR},
|
|
|
|
|
#{phone,jdbcType=VARCHAR}, #{collegeId,jdbcType=VARCHAR}, #{collegeName,jdbcType=VARCHAR},
|
|
|
|
|
#{studentId,jdbcType=VARCHAR}, #{major,jdbcType=VARCHAR}, #{majorId,jdbcType=VARCHAR},
|
|
|
|
|
#{majorName,jdbcType=VARCHAR}, #{fiveScore,jdbcType=DECIMAL}, #{artificialIntelligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
#{bigDataScore,jdbcType=DECIMAL}, #{cloudComputeScore,jdbcType=DECIMAL}, #{internetOfThingsSocre,jdbcType=DECIMAL},
|
|
|
|
|
#{virtualRealitySocre,jdbcType=DECIMAL}, #{industrialInternetSocre,jdbcType=DECIMAL},
|
|
|
|
|
#{digitalIndustryScore,jdbcType=DECIMAL}, #{digitalIndustryRank,jdbcType=INTEGER},
|
|
|
|
|
#{digitalGoverSocre,jdbcType=DECIMAL}, #{digitalGoverRank,jdbcType=INTEGER}, #{digitalTradeScore,jdbcType=DECIMAL},
|
|
|
|
|
#{digitalFinanceScore,jdbcType=DECIMAL}, #{valueDataScore,jdbcType=DECIMAL}, #{valueDataRank,jdbcType=INTEGER},
|
|
|
|
|
#{industryDigitalScore,jdbcType=DECIMAL}, #{industryDigitalRank,jdbcType=INTEGER},
|
|
|
|
|
#{totalRank,jdbcType=INTEGER}, #{totalScore,jdbcType=DECIMAL})
|
|
|
|
|
insert into stu_user (user_id, student_id, name,
|
|
|
|
|
password, role_id, class_id,
|
|
|
|
|
class_name, major, school_id,
|
|
|
|
|
school_name, hash_function_score, blockchain_score,
|
|
|
|
|
data_layer_score, network_layer_score, consensus_layer_socre,
|
|
|
|
|
exciting_layer_socre, contract_layer_socre,
|
|
|
|
|
concept_score, concept_rank, technology_socre,
|
|
|
|
|
technology_rank, digital_currency_score, digital_currency_rank,
|
|
|
|
|
invoice_score, supply_chain_finance_score,
|
|
|
|
|
traceability_and_anti_counterfeiting_score, ticket_results_score,
|
|
|
|
|
cross_border_payment_results_score, total_rank,
|
|
|
|
|
total_score)
|
|
|
|
|
values (#{userId,jdbcType=VARCHAR}, #{studentId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
|
|
|
|
#{password,jdbcType=VARCHAR}, #{roleId,jdbcType=INTEGER}, #{classId,jdbcType=VARCHAR},
|
|
|
|
|
#{className,jdbcType=VARCHAR}, #{major,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
#{schoolName,jdbcType=VARCHAR}, #{hashFunctionScore,jdbcType=DECIMAL}, #{blockchainScore,jdbcType=DECIMAL},
|
|
|
|
|
#{dataLayerScore,jdbcType=DECIMAL}, #{networkLayerScore,jdbcType=DECIMAL}, #{consensusLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
#{excitingLayerSocre,jdbcType=DECIMAL}, #{contractLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
#{conceptScore,jdbcType=DECIMAL}, #{conceptRank,jdbcType=INTEGER}, #{technologySocre,jdbcType=DECIMAL},
|
|
|
|
|
#{technologyRank,jdbcType=INTEGER}, #{digitalCurrencyScore,jdbcType=DECIMAL}, #{digitalCurrencyRank,jdbcType=INTEGER},
|
|
|
|
|
#{invoiceScore,jdbcType=DECIMAL}, #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
#{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL}, #{ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
#{crossBorderPaymentResultsScore,jdbcType=DECIMAL}, #{totalRank,jdbcType=INTEGER},
|
|
|
|
|
#{totalScore,jdbcType=DECIMAL})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.digital_credit.entity.StuUser">
|
|
|
|
|
insert into stu_user
|
|
|
|
@ -169,101 +161,86 @@
|
|
|
|
|
<if test="userId != null">
|
|
|
|
|
user_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="username != null">
|
|
|
|
|
username,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="password != null">
|
|
|
|
|
password,
|
|
|
|
|
<if test="studentId != null">
|
|
|
|
|
student_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="name != null">
|
|
|
|
|
name,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="password != null">
|
|
|
|
|
password,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="roleId != null">
|
|
|
|
|
role_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
school_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolName != null">
|
|
|
|
|
school_name,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="classId != null">
|
|
|
|
|
class_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="className != null">
|
|
|
|
|
class_name,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="phone != null">
|
|
|
|
|
phone,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="collegeId != null">
|
|
|
|
|
college_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="collegeName != null">
|
|
|
|
|
college_name,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="studentId != null">
|
|
|
|
|
student_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="major != null">
|
|
|
|
|
major,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="majorId != null">
|
|
|
|
|
major_id,
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
school_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="majorName != null">
|
|
|
|
|
major_name,
|
|
|
|
|
<if test="schoolName != null">
|
|
|
|
|
school_name,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="hashFunctionScore != null">
|
|
|
|
|
hash_function_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fiveScore != null">
|
|
|
|
|
five_score,
|
|
|
|
|
<if test="blockchainScore != null">
|
|
|
|
|
blockchain_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="artificialIntelligenceScore != null">
|
|
|
|
|
artificial_intelligence_score,
|
|
|
|
|
<if test="dataLayerScore != null">
|
|
|
|
|
data_layer_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="bigDataScore != null">
|
|
|
|
|
big_data_score,
|
|
|
|
|
<if test="networkLayerScore != null">
|
|
|
|
|
network_layer_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cloudComputeScore != null">
|
|
|
|
|
cloud_compute_score,
|
|
|
|
|
<if test="consensusLayerSocre != null">
|
|
|
|
|
consensus_layer_socre,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="internetOfThingsSocre != null">
|
|
|
|
|
internet_of_things_socre,
|
|
|
|
|
<if test="excitingLayerSocre != null">
|
|
|
|
|
exciting_layer_socre,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="virtualRealitySocre != null">
|
|
|
|
|
virtual_reality_socre,
|
|
|
|
|
<if test="contractLayerSocre != null">
|
|
|
|
|
contract_layer_socre,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industrialInternetSocre != null">
|
|
|
|
|
industrial_internet_socre,
|
|
|
|
|
<if test="conceptScore != null">
|
|
|
|
|
concept_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalIndustryScore != null">
|
|
|
|
|
digital_industry_score,
|
|
|
|
|
<if test="conceptRank != null">
|
|
|
|
|
concept_rank,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalIndustryRank != null">
|
|
|
|
|
digital_industry_rank,
|
|
|
|
|
<if test="technologySocre != null">
|
|
|
|
|
technology_socre,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalGoverSocre != null">
|
|
|
|
|
digital_gover_socre,
|
|
|
|
|
<if test="technologyRank != null">
|
|
|
|
|
technology_rank,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalGoverRank != null">
|
|
|
|
|
digital_gover_rank,
|
|
|
|
|
<if test="digitalCurrencyScore != null">
|
|
|
|
|
digital_currency_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalTradeScore != null">
|
|
|
|
|
digital_trade_score,
|
|
|
|
|
<if test="digitalCurrencyRank != null">
|
|
|
|
|
digital_currency_rank,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalFinanceScore != null">
|
|
|
|
|
digital_finance_score,
|
|
|
|
|
<if test="invoiceScore != null">
|
|
|
|
|
invoice_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="valueDataScore != null">
|
|
|
|
|
value_data_score,
|
|
|
|
|
<if test="supplyChainFinanceScore != null">
|
|
|
|
|
supply_chain_finance_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="valueDataRank != null">
|
|
|
|
|
value_data_rank,
|
|
|
|
|
<if test="traceabilityAndAntiCounterfeitingScore != null">
|
|
|
|
|
traceability_and_anti_counterfeiting_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industryDigitalScore != null">
|
|
|
|
|
industry_digital_score,
|
|
|
|
|
<if test="ticketResultsScore != null">
|
|
|
|
|
ticket_results_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industryDigitalRank != null">
|
|
|
|
|
industry_digital_rank,
|
|
|
|
|
<if test="crossBorderPaymentResultsScore != null">
|
|
|
|
|
cross_border_payment_results_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalRank != null">
|
|
|
|
|
total_rank,
|
|
|
|
@ -276,23 +253,17 @@
|
|
|
|
|
<if test="userId != null">
|
|
|
|
|
#{userId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="username != null">
|
|
|
|
|
#{username,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="password != null">
|
|
|
|
|
#{password,jdbcType=VARCHAR},
|
|
|
|
|
<if test="studentId != null">
|
|
|
|
|
#{studentId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="name != null">
|
|
|
|
|
#{name,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="roleId != null">
|
|
|
|
|
#{roleId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
#{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
<if test="password != null">
|
|
|
|
|
#{password,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolName != null">
|
|
|
|
|
#{schoolName,jdbcType=VARCHAR},
|
|
|
|
|
<if test="roleId != null">
|
|
|
|
|
#{roleId,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="classId != null">
|
|
|
|
|
#{classId,jdbcType=VARCHAR},
|
|
|
|
@ -300,77 +271,68 @@
|
|
|
|
|
<if test="className != null">
|
|
|
|
|
#{className,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="phone != null">
|
|
|
|
|
#{phone,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="collegeId != null">
|
|
|
|
|
#{collegeId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="collegeName != null">
|
|
|
|
|
#{collegeName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="studentId != null">
|
|
|
|
|
#{studentId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="major != null">
|
|
|
|
|
#{major,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="majorId != null">
|
|
|
|
|
#{majorId,jdbcType=VARCHAR},
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
#{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolName != null">
|
|
|
|
|
#{schoolName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="majorName != null">
|
|
|
|
|
#{majorName,jdbcType=VARCHAR},
|
|
|
|
|
<if test="hashFunctionScore != null">
|
|
|
|
|
#{hashFunctionScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fiveScore != null">
|
|
|
|
|
#{fiveScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="blockchainScore != null">
|
|
|
|
|
#{blockchainScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="artificialIntelligenceScore != null">
|
|
|
|
|
#{artificialIntelligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="dataLayerScore != null">
|
|
|
|
|
#{dataLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="bigDataScore != null">
|
|
|
|
|
#{bigDataScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="networkLayerScore != null">
|
|
|
|
|
#{networkLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cloudComputeScore != null">
|
|
|
|
|
#{cloudComputeScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="consensusLayerSocre != null">
|
|
|
|
|
#{consensusLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="internetOfThingsSocre != null">
|
|
|
|
|
#{internetOfThingsSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="excitingLayerSocre != null">
|
|
|
|
|
#{excitingLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="virtualRealitySocre != null">
|
|
|
|
|
#{virtualRealitySocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="contractLayerSocre != null">
|
|
|
|
|
#{contractLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industrialInternetSocre != null">
|
|
|
|
|
#{industrialInternetSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="conceptScore != null">
|
|
|
|
|
#{conceptScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalIndustryScore != null">
|
|
|
|
|
#{digitalIndustryScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="conceptRank != null">
|
|
|
|
|
#{conceptRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalIndustryRank != null">
|
|
|
|
|
#{digitalIndustryRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="technologySocre != null">
|
|
|
|
|
#{technologySocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalGoverSocre != null">
|
|
|
|
|
#{digitalGoverSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="technologyRank != null">
|
|
|
|
|
#{technologyRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalGoverRank != null">
|
|
|
|
|
#{digitalGoverRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="digitalCurrencyScore != null">
|
|
|
|
|
#{digitalCurrencyScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalTradeScore != null">
|
|
|
|
|
#{digitalTradeScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="digitalCurrencyRank != null">
|
|
|
|
|
#{digitalCurrencyRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalFinanceScore != null">
|
|
|
|
|
#{digitalFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="invoiceScore != null">
|
|
|
|
|
#{invoiceScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="valueDataScore != null">
|
|
|
|
|
#{valueDataScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="supplyChainFinanceScore != null">
|
|
|
|
|
#{supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="valueDataRank != null">
|
|
|
|
|
#{valueDataRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="traceabilityAndAntiCounterfeitingScore != null">
|
|
|
|
|
#{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industryDigitalScore != null">
|
|
|
|
|
#{industryDigitalScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="ticketResultsScore != null">
|
|
|
|
|
#{ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industryDigitalRank != null">
|
|
|
|
|
#{industryDigitalRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="crossBorderPaymentResultsScore != null">
|
|
|
|
|
#{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalRank != null">
|
|
|
|
|
#{totalRank,jdbcType=INTEGER},
|
|
|
|
@ -392,23 +354,17 @@
|
|
|
|
|
<if test="record.userId != null">
|
|
|
|
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.username != null">
|
|
|
|
|
username = #{record.username,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.password != null">
|
|
|
|
|
password = #{record.password,jdbcType=VARCHAR},
|
|
|
|
|
<if test="record.studentId != null">
|
|
|
|
|
student_id = #{record.studentId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.name != null">
|
|
|
|
|
name = #{record.name,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.roleId != null">
|
|
|
|
|
role_id = #{record.roleId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.schoolId != null">
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
|
|
|
|
<if test="record.password != null">
|
|
|
|
|
password = #{record.password,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.schoolName != null">
|
|
|
|
|
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
|
|
|
|
<if test="record.roleId != null">
|
|
|
|
|
role_id = #{record.roleId,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.classId != null">
|
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
@ -416,77 +372,68 @@
|
|
|
|
|
<if test="record.className != null">
|
|
|
|
|
class_name = #{record.className,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.phone != null">
|
|
|
|
|
phone = #{record.phone,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.collegeId != null">
|
|
|
|
|
college_id = #{record.collegeId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.collegeName != null">
|
|
|
|
|
college_name = #{record.collegeName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.studentId != null">
|
|
|
|
|
student_id = #{record.studentId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.major != null">
|
|
|
|
|
major = #{record.major,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.majorId != null">
|
|
|
|
|
major_id = #{record.majorId,jdbcType=VARCHAR},
|
|
|
|
|
<if test="record.schoolId != null">
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.schoolName != null">
|
|
|
|
|
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.majorName != null">
|
|
|
|
|
major_name = #{record.majorName,jdbcType=VARCHAR},
|
|
|
|
|
<if test="record.hashFunctionScore != null">
|
|
|
|
|
hash_function_score = #{record.hashFunctionScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.fiveScore != null">
|
|
|
|
|
five_score = #{record.fiveScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.blockchainScore != null">
|
|
|
|
|
blockchain_score = #{record.blockchainScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.artificialIntelligenceScore != null">
|
|
|
|
|
artificial_intelligence_score = #{record.artificialIntelligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.dataLayerScore != null">
|
|
|
|
|
data_layer_score = #{record.dataLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.bigDataScore != null">
|
|
|
|
|
big_data_score = #{record.bigDataScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.networkLayerScore != null">
|
|
|
|
|
network_layer_score = #{record.networkLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.cloudComputeScore != null">
|
|
|
|
|
cloud_compute_score = #{record.cloudComputeScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.consensusLayerSocre != null">
|
|
|
|
|
consensus_layer_socre = #{record.consensusLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.internetOfThingsSocre != null">
|
|
|
|
|
internet_of_things_socre = #{record.internetOfThingsSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.excitingLayerSocre != null">
|
|
|
|
|
exciting_layer_socre = #{record.excitingLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.virtualRealitySocre != null">
|
|
|
|
|
virtual_reality_socre = #{record.virtualRealitySocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.contractLayerSocre != null">
|
|
|
|
|
contract_layer_socre = #{record.contractLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.industrialInternetSocre != null">
|
|
|
|
|
industrial_internet_socre = #{record.industrialInternetSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.conceptScore != null">
|
|
|
|
|
concept_score = #{record.conceptScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.digitalIndustryScore != null">
|
|
|
|
|
digital_industry_score = #{record.digitalIndustryScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.conceptRank != null">
|
|
|
|
|
concept_rank = #{record.conceptRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.digitalIndustryRank != null">
|
|
|
|
|
digital_industry_rank = #{record.digitalIndustryRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="record.technologySocre != null">
|
|
|
|
|
technology_socre = #{record.technologySocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.digitalGoverSocre != null">
|
|
|
|
|
digital_gover_socre = #{record.digitalGoverSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.technologyRank != null">
|
|
|
|
|
technology_rank = #{record.technologyRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.digitalGoverRank != null">
|
|
|
|
|
digital_gover_rank = #{record.digitalGoverRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="record.digitalCurrencyScore != null">
|
|
|
|
|
digital_currency_score = #{record.digitalCurrencyScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.digitalTradeScore != null">
|
|
|
|
|
digital_trade_score = #{record.digitalTradeScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.digitalCurrencyRank != null">
|
|
|
|
|
digital_currency_rank = #{record.digitalCurrencyRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.digitalFinanceScore != null">
|
|
|
|
|
digital_finance_score = #{record.digitalFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.invoiceScore != null">
|
|
|
|
|
invoice_score = #{record.invoiceScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.valueDataScore != null">
|
|
|
|
|
value_data_score = #{record.valueDataScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.supplyChainFinanceScore != null">
|
|
|
|
|
supply_chain_finance_score = #{record.supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.valueDataRank != null">
|
|
|
|
|
value_data_rank = #{record.valueDataRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="record.traceabilityAndAntiCounterfeitingScore != null">
|
|
|
|
|
traceability_and_anti_counterfeiting_score = #{record.traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.industryDigitalScore != null">
|
|
|
|
|
industry_digital_score = #{record.industryDigitalScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="record.ticketResultsScore != null">
|
|
|
|
|
ticket_results_score = #{record.ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.industryDigitalRank != null">
|
|
|
|
|
industry_digital_rank = #{record.industryDigitalRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="record.crossBorderPaymentResultsScore != null">
|
|
|
|
|
cross_border_payment_results_score = #{record.crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.totalRank != null">
|
|
|
|
|
total_rank = #{record.totalRank,jdbcType=INTEGER},
|
|
|
|
@ -502,38 +449,33 @@
|
|
|
|
|
<update id="updateByExample" parameterType="map">
|
|
|
|
|
update stu_user
|
|
|
|
|
set user_id = #{record.userId,jdbcType=VARCHAR},
|
|
|
|
|
username = #{record.username,jdbcType=VARCHAR},
|
|
|
|
|
password = #{record.password,jdbcType=VARCHAR},
|
|
|
|
|
student_id = #{record.studentId,jdbcType=VARCHAR},
|
|
|
|
|
name = #{record.name,jdbcType=VARCHAR},
|
|
|
|
|
role_id = #{record.roleId,jdbcType=VARCHAR},
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
|
|
|
|
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
|
|
|
|
password = #{record.password,jdbcType=VARCHAR},
|
|
|
|
|
role_id = #{record.roleId,jdbcType=INTEGER},
|
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
|
class_name = #{record.className,jdbcType=VARCHAR},
|
|
|
|
|
phone = #{record.phone,jdbcType=VARCHAR},
|
|
|
|
|
college_id = #{record.collegeId,jdbcType=VARCHAR},
|
|
|
|
|
college_name = #{record.collegeName,jdbcType=VARCHAR},
|
|
|
|
|
student_id = #{record.studentId,jdbcType=VARCHAR},
|
|
|
|
|
major = #{record.major,jdbcType=VARCHAR},
|
|
|
|
|
major_id = #{record.majorId,jdbcType=VARCHAR},
|
|
|
|
|
major_name = #{record.majorName,jdbcType=VARCHAR},
|
|
|
|
|
five_score = #{record.fiveScore,jdbcType=DECIMAL},
|
|
|
|
|
artificial_intelligence_score = #{record.artificialIntelligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
big_data_score = #{record.bigDataScore,jdbcType=DECIMAL},
|
|
|
|
|
cloud_compute_score = #{record.cloudComputeScore,jdbcType=DECIMAL},
|
|
|
|
|
internet_of_things_socre = #{record.internetOfThingsSocre,jdbcType=DECIMAL},
|
|
|
|
|
virtual_reality_socre = #{record.virtualRealitySocre,jdbcType=DECIMAL},
|
|
|
|
|
industrial_internet_socre = #{record.industrialInternetSocre,jdbcType=DECIMAL},
|
|
|
|
|
digital_industry_score = #{record.digitalIndustryScore,jdbcType=DECIMAL},
|
|
|
|
|
digital_industry_rank = #{record.digitalIndustryRank,jdbcType=INTEGER},
|
|
|
|
|
digital_gover_socre = #{record.digitalGoverSocre,jdbcType=DECIMAL},
|
|
|
|
|
digital_gover_rank = #{record.digitalGoverRank,jdbcType=INTEGER},
|
|
|
|
|
digital_trade_score = #{record.digitalTradeScore,jdbcType=DECIMAL},
|
|
|
|
|
digital_finance_score = #{record.digitalFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
value_data_score = #{record.valueDataScore,jdbcType=DECIMAL},
|
|
|
|
|
value_data_rank = #{record.valueDataRank,jdbcType=INTEGER},
|
|
|
|
|
industry_digital_score = #{record.industryDigitalScore,jdbcType=DECIMAL},
|
|
|
|
|
industry_digital_rank = #{record.industryDigitalRank,jdbcType=INTEGER},
|
|
|
|
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
|
|
|
|
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
|
|
|
|
hash_function_score = #{record.hashFunctionScore,jdbcType=DECIMAL},
|
|
|
|
|
blockchain_score = #{record.blockchainScore,jdbcType=DECIMAL},
|
|
|
|
|
data_layer_score = #{record.dataLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
network_layer_score = #{record.networkLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
consensus_layer_socre = #{record.consensusLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
exciting_layer_socre = #{record.excitingLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
contract_layer_socre = #{record.contractLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
concept_score = #{record.conceptScore,jdbcType=DECIMAL},
|
|
|
|
|
concept_rank = #{record.conceptRank,jdbcType=INTEGER},
|
|
|
|
|
technology_socre = #{record.technologySocre,jdbcType=DECIMAL},
|
|
|
|
|
technology_rank = #{record.technologyRank,jdbcType=INTEGER},
|
|
|
|
|
digital_currency_score = #{record.digitalCurrencyScore,jdbcType=DECIMAL},
|
|
|
|
|
digital_currency_rank = #{record.digitalCurrencyRank,jdbcType=INTEGER},
|
|
|
|
|
invoice_score = #{record.invoiceScore,jdbcType=DECIMAL},
|
|
|
|
|
supply_chain_finance_score = #{record.supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
traceability_and_anti_counterfeiting_score = #{record.traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
|
|
|
|
ticket_results_score = #{record.ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
cross_border_payment_results_score = #{record.crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
total_rank = #{record.totalRank,jdbcType=INTEGER},
|
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -543,23 +485,17 @@
|
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.digital_credit.entity.StuUser">
|
|
|
|
|
update stu_user
|
|
|
|
|
<set>
|
|
|
|
|
<if test="username != null">
|
|
|
|
|
username = #{username,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="password != null">
|
|
|
|
|
password = #{password,jdbcType=VARCHAR},
|
|
|
|
|
<if test="studentId != null">
|
|
|
|
|
student_id = #{studentId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="name != null">
|
|
|
|
|
name = #{name,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="roleId != null">
|
|
|
|
|
role_id = #{roleId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
<if test="password != null">
|
|
|
|
|
password = #{password,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="schoolName != null">
|
|
|
|
|
school_name = #{schoolName,jdbcType=VARCHAR},
|
|
|
|
|
<if test="roleId != null">
|
|
|
|
|
role_id = #{roleId,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="classId != null">
|
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
@ -567,77 +503,68 @@
|
|
|
|
|
<if test="className != null">
|
|
|
|
|
class_name = #{className,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="phone != null">
|
|
|
|
|
phone = #{phone,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="collegeId != null">
|
|
|
|
|
college_id = #{collegeId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="collegeName != null">
|
|
|
|
|
college_name = #{collegeName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="studentId != null">
|
|
|
|
|
student_id = #{studentId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="major != null">
|
|
|
|
|
major = #{major,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="majorId != null">
|
|
|
|
|
major_id = #{majorId,jdbcType=VARCHAR},
|
|
|
|
|
<if test="schoolId != null">
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="majorName != null">
|
|
|
|
|
major_name = #{majorName,jdbcType=VARCHAR},
|
|
|
|
|
<if test="schoolName != null">
|
|
|
|
|
school_name = #{schoolName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fiveScore != null">
|
|
|
|
|
five_score = #{fiveScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="hashFunctionScore != null">
|
|
|
|
|
hash_function_score = #{hashFunctionScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="artificialIntelligenceScore != null">
|
|
|
|
|
artificial_intelligence_score = #{artificialIntelligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="blockchainScore != null">
|
|
|
|
|
blockchain_score = #{blockchainScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="bigDataScore != null">
|
|
|
|
|
big_data_score = #{bigDataScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="dataLayerScore != null">
|
|
|
|
|
data_layer_score = #{dataLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cloudComputeScore != null">
|
|
|
|
|
cloud_compute_score = #{cloudComputeScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="networkLayerScore != null">
|
|
|
|
|
network_layer_score = #{networkLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="internetOfThingsSocre != null">
|
|
|
|
|
internet_of_things_socre = #{internetOfThingsSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="consensusLayerSocre != null">
|
|
|
|
|
consensus_layer_socre = #{consensusLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="virtualRealitySocre != null">
|
|
|
|
|
virtual_reality_socre = #{virtualRealitySocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="excitingLayerSocre != null">
|
|
|
|
|
exciting_layer_socre = #{excitingLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industrialInternetSocre != null">
|
|
|
|
|
industrial_internet_socre = #{industrialInternetSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="contractLayerSocre != null">
|
|
|
|
|
contract_layer_socre = #{contractLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalIndustryScore != null">
|
|
|
|
|
digital_industry_score = #{digitalIndustryScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="conceptScore != null">
|
|
|
|
|
concept_score = #{conceptScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalIndustryRank != null">
|
|
|
|
|
digital_industry_rank = #{digitalIndustryRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="conceptRank != null">
|
|
|
|
|
concept_rank = #{conceptRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalGoverSocre != null">
|
|
|
|
|
digital_gover_socre = #{digitalGoverSocre,jdbcType=DECIMAL},
|
|
|
|
|
<if test="technologySocre != null">
|
|
|
|
|
technology_socre = #{technologySocre,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalGoverRank != null">
|
|
|
|
|
digital_gover_rank = #{digitalGoverRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="technologyRank != null">
|
|
|
|
|
technology_rank = #{technologyRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalTradeScore != null">
|
|
|
|
|
digital_trade_score = #{digitalTradeScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="digitalCurrencyScore != null">
|
|
|
|
|
digital_currency_score = #{digitalCurrencyScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="digitalFinanceScore != null">
|
|
|
|
|
digital_finance_score = #{digitalFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="digitalCurrencyRank != null">
|
|
|
|
|
digital_currency_rank = #{digitalCurrencyRank,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="valueDataScore != null">
|
|
|
|
|
value_data_score = #{valueDataScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="invoiceScore != null">
|
|
|
|
|
invoice_score = #{invoiceScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="valueDataRank != null">
|
|
|
|
|
value_data_rank = #{valueDataRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="supplyChainFinanceScore != null">
|
|
|
|
|
supply_chain_finance_score = #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industryDigitalScore != null">
|
|
|
|
|
industry_digital_score = #{industryDigitalScore,jdbcType=DECIMAL},
|
|
|
|
|
<if test="traceabilityAndAntiCounterfeitingScore != null">
|
|
|
|
|
traceability_and_anti_counterfeiting_score = #{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="industryDigitalRank != null">
|
|
|
|
|
industry_digital_rank = #{industryDigitalRank,jdbcType=INTEGER},
|
|
|
|
|
<if test="ticketResultsScore != null">
|
|
|
|
|
ticket_results_score = #{ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="crossBorderPaymentResultsScore != null">
|
|
|
|
|
cross_border_payment_results_score = #{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalRank != null">
|
|
|
|
|
total_rank = #{totalRank,jdbcType=INTEGER},
|
|
|
|
@ -650,41 +577,35 @@
|
|
|
|
|
</update>
|
|
|
|
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.digital_credit.entity.StuUser">
|
|
|
|
|
update stu_user
|
|
|
|
|
set username = #{username,jdbcType=VARCHAR},
|
|
|
|
|
password = #{password,jdbcType=VARCHAR},
|
|
|
|
|
set student_id = #{studentId,jdbcType=VARCHAR},
|
|
|
|
|
name = #{name,jdbcType=VARCHAR},
|
|
|
|
|
role_id = #{roleId,jdbcType=VARCHAR},
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
school_name = #{schoolName,jdbcType=VARCHAR},
|
|
|
|
|
password = #{password,jdbcType=VARCHAR},
|
|
|
|
|
role_id = #{roleId,jdbcType=INTEGER},
|
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
|
class_name = #{className,jdbcType=VARCHAR},
|
|
|
|
|
phone = #{phone,jdbcType=VARCHAR},
|
|
|
|
|
college_id = #{collegeId,jdbcType=VARCHAR},
|
|
|
|
|
college_name = #{collegeName,jdbcType=VARCHAR},
|
|
|
|
|
student_id = #{studentId,jdbcType=VARCHAR},
|
|
|
|
|
major = #{major,jdbcType=VARCHAR},
|
|
|
|
|
major_id = #{majorId,jdbcType=VARCHAR},
|
|
|
|
|
major_name = #{majorName,jdbcType=VARCHAR},
|
|
|
|
|
five_score = #{fiveScore,jdbcType=DECIMAL},
|
|
|
|
|
artificial_intelligence_score = #{artificialIntelligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
big_data_score = #{bigDataScore,jdbcType=DECIMAL},
|
|
|
|
|
cloud_compute_score = #{cloudComputeScore,jdbcType=DECIMAL},
|
|
|
|
|
internet_of_things_socre = #{internetOfThingsSocre,jdbcType=DECIMAL},
|
|
|
|
|
virtual_reality_socre = #{virtualRealitySocre,jdbcType=DECIMAL},
|
|
|
|
|
industrial_internet_socre = #{industrialInternetSocre,jdbcType=DECIMAL},
|
|
|
|
|
digital_industry_score = #{digitalIndustryScore,jdbcType=DECIMAL},
|
|
|
|
|
digital_industry_rank = #{digitalIndustryRank,jdbcType=INTEGER},
|
|
|
|
|
digital_gover_socre = #{digitalGoverSocre,jdbcType=DECIMAL},
|
|
|
|
|
digital_gover_rank = #{digitalGoverRank,jdbcType=INTEGER},
|
|
|
|
|
digital_trade_score = #{digitalTradeScore,jdbcType=DECIMAL},
|
|
|
|
|
digital_finance_score = #{digitalFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
value_data_score = #{valueDataScore,jdbcType=DECIMAL},
|
|
|
|
|
value_data_rank = #{valueDataRank,jdbcType=INTEGER},
|
|
|
|
|
industry_digital_score = #{industryDigitalScore,jdbcType=DECIMAL},
|
|
|
|
|
industry_digital_rank = #{industryDigitalRank,jdbcType=INTEGER},
|
|
|
|
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
|
|
|
|
school_name = #{schoolName,jdbcType=VARCHAR},
|
|
|
|
|
hash_function_score = #{hashFunctionScore,jdbcType=DECIMAL},
|
|
|
|
|
blockchain_score = #{blockchainScore,jdbcType=DECIMAL},
|
|
|
|
|
data_layer_score = #{dataLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
network_layer_score = #{networkLayerScore,jdbcType=DECIMAL},
|
|
|
|
|
consensus_layer_socre = #{consensusLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
exciting_layer_socre = #{excitingLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
contract_layer_socre = #{contractLayerSocre,jdbcType=DECIMAL},
|
|
|
|
|
concept_score = #{conceptScore,jdbcType=DECIMAL},
|
|
|
|
|
concept_rank = #{conceptRank,jdbcType=INTEGER},
|
|
|
|
|
technology_socre = #{technologySocre,jdbcType=DECIMAL},
|
|
|
|
|
technology_rank = #{technologyRank,jdbcType=INTEGER},
|
|
|
|
|
digital_currency_score = #{digitalCurrencyScore,jdbcType=DECIMAL},
|
|
|
|
|
digital_currency_rank = #{digitalCurrencyRank,jdbcType=INTEGER},
|
|
|
|
|
invoice_score = #{invoiceScore,jdbcType=DECIMAL},
|
|
|
|
|
supply_chain_finance_score = #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
traceability_and_anti_counterfeiting_score = #{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL},
|
|
|
|
|
ticket_results_score = #{ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
cross_border_payment_results_score = #{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
total_rank = #{totalRank,jdbcType=INTEGER},
|
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL}
|
|
|
|
|
where user_id = #{userId,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
</mapper>
|