|
|
|
@ -32,6 +32,9 @@
|
|
|
|
|
<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" />
|
|
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
|
|
<result column="del_state" jdbcType="INTEGER" property="delState" />
|
|
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
|
<where>
|
|
|
|
@ -97,7 +100,8 @@
|
|
|
|
|
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
|
|
|
|
|
ticket_results_score, cross_border_payment_results_score, total_rank, total_score,
|
|
|
|
|
create_time, del_state, update_time
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.trade.entity.StuUserExample" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
@ -141,7 +145,8 @@
|
|
|
|
|
invoice_score, supply_chain_finance_score,
|
|
|
|
|
traceability_and_anti_counterfeiting_score, ticket_results_score,
|
|
|
|
|
cross_border_payment_results_score, total_rank,
|
|
|
|
|
total_score)
|
|
|
|
|
total_score, create_time, del_state,
|
|
|
|
|
update_time)
|
|
|
|
|
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},
|
|
|
|
@ -153,7 +158,8 @@
|
|
|
|
|
#{invoiceScore,jdbcType=DECIMAL}, #{supplyChainFinanceScore,jdbcType=DECIMAL},
|
|
|
|
|
#{traceabilityAndAntiCounterfeitingScore,jdbcType=DECIMAL}, #{ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
#{crossBorderPaymentResultsScore,jdbcType=DECIMAL}, #{totalRank,jdbcType=INTEGER},
|
|
|
|
|
#{totalScore,jdbcType=DECIMAL})
|
|
|
|
|
#{totalScore,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, #{delState,jdbcType=INTEGER},
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.trade.entity.StuUser">
|
|
|
|
|
insert into stu_user
|
|
|
|
@ -248,6 +254,15 @@
|
|
|
|
|
<if test="totalScore != null">
|
|
|
|
|
total_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
create_time,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="delState != null">
|
|
|
|
|
del_state,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime != null">
|
|
|
|
|
update_time,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="userId != null">
|
|
|
|
@ -340,6 +355,15 @@
|
|
|
|
|
<if test="totalScore != null">
|
|
|
|
|
#{totalScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="delState != null">
|
|
|
|
|
#{delState,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime != null">
|
|
|
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.trade.entity.StuUserExample" resultType="java.lang.Long">
|
|
|
|
@ -348,7 +372,7 @@
|
|
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
|
</select>
|
|
|
|
|
<update id="updateByExampleSelective" parameterType="map">
|
|
|
|
|
<update id="updateByExampleSelective" parameterType="map">
|
|
|
|
|
update stu_user
|
|
|
|
|
<set>
|
|
|
|
|
<if test="record.userId != null">
|
|
|
|
@ -441,6 +465,15 @@
|
|
|
|
|
<if test="record.totalScore != null">
|
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.createTime != null">
|
|
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.delState != null">
|
|
|
|
|
del_state = #{record.delState,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.updateTime != null">
|
|
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -477,7 +510,10 @@
|
|
|
|
|
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}
|
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
del_state = #{record.delState,jdbcType=INTEGER},
|
|
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
@ -572,6 +608,15 @@
|
|
|
|
|
<if test="totalScore != null">
|
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="delState != null">
|
|
|
|
|
del_state = #{delState,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime != null">
|
|
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
where user_id = #{userId,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
@ -605,10 +650,15 @@
|
|
|
|
|
ticket_results_score = #{ticketResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
cross_border_payment_results_score = #{crossBorderPaymentResultsScore,jdbcType=DECIMAL},
|
|
|
|
|
total_rank = #{totalRank,jdbcType=INTEGER},
|
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL}
|
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
del_state = #{delState,jdbcType=INTEGER},
|
|
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
|
|
where user_id = #{userId,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getStartCourseNameList" resultType="com.sztzjy.trade.entity.StuUser" resultMap="BaseResultMap">
|
|
|
|
|
SELECT * FROM stu_user
|
|
|
|
|
<where>
|
|
|
|
@ -643,4 +693,5 @@
|
|
|
|
|
</foreach>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|