|
|
|
@ -17,6 +17,7 @@
|
|
|
|
|
<result column="profit_management_score" jdbcType="DECIMAL" property="profitManagementScore" />
|
|
|
|
|
<result column="profit_distribution_score" jdbcType="DECIMAL" property="profitDistributionScore" />
|
|
|
|
|
<result column="investment_report_score" jdbcType="DECIMAL" property="investmentReportScore" />
|
|
|
|
|
<result column="total_score" jdbcType="DECIMAL" property="totalScore" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
|
<where>
|
|
|
|
@ -80,7 +81,7 @@
|
|
|
|
|
id, flow_id, schoolId, practical_cognition_score, knowledge_assessment_score, fundraising_score,
|
|
|
|
|
project_search_score, project_due_diligence_score, project_valuation_score, investment_signing_score,
|
|
|
|
|
IPO_application_score, pricing_issuance_score, profit_management_score, profit_distribution_score,
|
|
|
|
|
investment_report_score
|
|
|
|
|
investment_report_score, total_score
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByExample" parameterType="com.sztzjy.fund_investment.entity.PerformanceScoreExample" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
@ -119,14 +120,14 @@
|
|
|
|
|
project_valuation_score, investment_signing_score,
|
|
|
|
|
IPO_application_score, pricing_issuance_score,
|
|
|
|
|
profit_management_score, profit_distribution_score,
|
|
|
|
|
investment_report_score)
|
|
|
|
|
investment_report_score, total_score)
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{schoolid,jdbcType=VARCHAR},
|
|
|
|
|
#{practicalCognitionScore,jdbcType=DECIMAL}, #{knowledgeAssessmentScore,jdbcType=DECIMAL},
|
|
|
|
|
#{fundraisingScore,jdbcType=DECIMAL}, #{projectSearchScore,jdbcType=DECIMAL}, #{projectDueDiligenceScore,jdbcType=DECIMAL},
|
|
|
|
|
#{projectValuationScore,jdbcType=DECIMAL}, #{investmentSigningScore,jdbcType=DECIMAL},
|
|
|
|
|
#{ipoApplicationScore,jdbcType=DECIMAL}, #{pricingIssuanceScore,jdbcType=DECIMAL},
|
|
|
|
|
#{profitManagementScore,jdbcType=DECIMAL}, #{profitDistributionScore,jdbcType=DECIMAL},
|
|
|
|
|
#{investmentReportScore,jdbcType=DECIMAL})
|
|
|
|
|
#{investmentReportScore,jdbcType=DECIMAL}, #{totalScore,jdbcType=DECIMAL})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.PerformanceScore">
|
|
|
|
|
insert into performance_score
|
|
|
|
@ -176,6 +177,9 @@
|
|
|
|
|
<if test="investmentReportScore != null">
|
|
|
|
|
investment_report_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalScore != null">
|
|
|
|
|
total_score,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">
|
|
|
|
@ -223,6 +227,9 @@
|
|
|
|
|
<if test="investmentReportScore != null">
|
|
|
|
|
#{investmentReportScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalScore != null">
|
|
|
|
|
#{totalScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
<select id="countByExample" parameterType="com.sztzjy.fund_investment.entity.PerformanceScoreExample" resultType="java.lang.Long">
|
|
|
|
@ -279,6 +286,9 @@
|
|
|
|
|
<if test="record.investmentReportScore != null">
|
|
|
|
|
investment_report_score = #{record.investmentReportScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.totalScore != null">
|
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -300,7 +310,8 @@
|
|
|
|
|
pricing_issuance_score = #{record.pricingIssuanceScore,jdbcType=DECIMAL},
|
|
|
|
|
profit_management_score = #{record.profitManagementScore,jdbcType=DECIMAL},
|
|
|
|
|
profit_distribution_score = #{record.profitDistributionScore,jdbcType=DECIMAL},
|
|
|
|
|
investment_report_score = #{record.investmentReportScore,jdbcType=DECIMAL}
|
|
|
|
|
investment_report_score = #{record.investmentReportScore,jdbcType=DECIMAL},
|
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
@ -350,6 +361,9 @@
|
|
|
|
|
<if test="investmentReportScore != null">
|
|
|
|
|
investment_report_score = #{investmentReportScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalScore != null">
|
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
@ -368,7 +382,8 @@
|
|
|
|
|
pricing_issuance_score = #{pricingIssuanceScore,jdbcType=DECIMAL},
|
|
|
|
|
profit_management_score = #{profitManagementScore,jdbcType=DECIMAL},
|
|
|
|
|
profit_distribution_score = #{profitDistributionScore,jdbcType=DECIMAL},
|
|
|
|
|
investment_report_score = #{investmentReportScore,jdbcType=DECIMAL}
|
|
|
|
|
investment_report_score = #{investmentReportScore,jdbcType=DECIMAL},
|
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
</mapper>
|