|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
|
|
<result column="userid" jdbcType="BIGINT" property="userid" />
|
|
|
|
@ -77,6 +77,7 @@
|
|
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
|
|
<result column="training_operation_score" jdbcType="INTEGER" property="trainingOperationScore" />
|
|
|
|
|
<result column="training_report_score" jdbcType="INTEGER" property="trainingReportScore" />
|
|
|
|
|
<result column="pre_training_report_score" jdbcType="INTEGER" property="preTrainingReportScore" />
|
|
|
|
|
<result column="totalscore" jdbcType="DOUBLE" property="totalscore" />
|
|
|
|
|
<result column="reportstatus" jdbcType="VARCHAR" property="reportstatus" />
|
|
|
|
|
</resultMap>
|
|
|
|
@ -84,7 +85,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<result column="report_content" jdbcType="LONGVARCHAR" property="reportContent" />
|
|
|
|
|
</resultMap>
|
|
|
|
@ -92,7 +93,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<where>
|
|
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
|
@ -126,7 +127,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<where>
|
|
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
|
@ -160,7 +161,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
id, userid, data_collection_step_description, data_collection_toolbar_button, data_collection_progress,
|
|
|
|
|
data_collection_score, data_collection_time, text_segmentation_step_description,
|
|
|
|
@ -185,24 +186,21 @@
|
|
|
|
|
data_visualization_time, report_submission_experience_page_save_button, report_submission_upload_report_button,
|
|
|
|
|
report_submission_submit_button, report_submission_progress, report_submission_score,
|
|
|
|
|
report_submission_time, report_upload_path, report_filename, status, training_operation_score,
|
|
|
|
|
training_report_score, totalscore, reportstatus
|
|
|
|
|
training_report_score, pre_training_report_score, totalscore, reportstatus
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
report_content
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectAllReportContent" resultMap="ResultMapWithBLOBs">
|
|
|
|
|
select id,userid,report_content from sys_training_score WHERE report_content IS NOT NULL
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectByExampleWithBLOBs" parameterType="com.ruoyi.system.domain.SysTrainingScoreExample" resultMap="ResultMapWithBLOBs">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
@ -223,7 +221,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
@ -242,7 +240,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<include refid="Base_Column_List" />
|
|
|
|
@ -255,7 +253,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
delete from sys_training_score
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
@ -264,7 +262,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
delete from sys_training_score
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -275,7 +273,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
insert into sys_training_score (id, userid, data_collection_step_description,
|
|
|
|
|
data_collection_toolbar_button, data_collection_progress,
|
|
|
|
@ -311,8 +309,8 @@
|
|
|
|
|
report_submission_score, report_submission_time,
|
|
|
|
|
report_upload_path, report_filename, status,
|
|
|
|
|
training_operation_score, training_report_score,
|
|
|
|
|
totalscore, reportstatus, report_content
|
|
|
|
|
)
|
|
|
|
|
pre_training_report_score, totalscore, reportstatus,
|
|
|
|
|
report_content)
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{userid,jdbcType=BIGINT}, #{dataCollectionStepDescription,jdbcType=VARCHAR},
|
|
|
|
|
#{dataCollectionToolbarButton,jdbcType=VARCHAR}, #{dataCollectionProgress,jdbcType=VARCHAR},
|
|
|
|
|
#{dataCollectionScore,jdbcType=INTEGER}, #{dataCollectionTime,jdbcType=TIMESTAMP},
|
|
|
|
@ -347,14 +345,14 @@
|
|
|
|
|
#{reportSubmissionScore,jdbcType=INTEGER}, #{reportSubmissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
#{reportUploadPath,jdbcType=VARCHAR}, #{reportFilename,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
|
|
#{trainingOperationScore,jdbcType=INTEGER}, #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
#{totalscore,jdbcType=DOUBLE}, #{reportstatus,jdbcType=VARCHAR}, #{reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
)
|
|
|
|
|
#{preTrainingReportScore,jdbcType=INTEGER}, #{totalscore,jdbcType=DOUBLE}, #{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
#{reportContent,jdbcType=LONGVARCHAR})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.ruoyi.system.domain.SysTrainingScore">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
insert into sys_training_score
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
@ -568,6 +566,9 @@
|
|
|
|
|
<if test="trainingReportScore != null">
|
|
|
|
|
training_report_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="preTrainingReportScore != null">
|
|
|
|
|
pre_training_report_score,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalscore != null">
|
|
|
|
|
totalscore,
|
|
|
|
|
</if>
|
|
|
|
@ -789,6 +790,9 @@
|
|
|
|
|
<if test="trainingReportScore != null">
|
|
|
|
|
#{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="preTrainingReportScore != null">
|
|
|
|
|
#{preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalscore != null">
|
|
|
|
|
#{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
</if>
|
|
|
|
@ -804,7 +808,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select count(*) from sys_training_score
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -815,7 +819,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
<set>
|
|
|
|
@ -1029,6 +1033,9 @@
|
|
|
|
|
<if test="record.trainingReportScore != null">
|
|
|
|
|
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.preTrainingReportScore != null">
|
|
|
|
|
pre_training_report_score = #{record.preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.totalscore != null">
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
</if>
|
|
|
|
@ -1047,7 +1054,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
@ -1120,6 +1127,7 @@
|
|
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
training_operation_score = #{record.trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
pre_training_report_score = #{record.preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{record.reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
report_content = #{record.reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
@ -1131,7 +1139,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
@ -1204,6 +1212,7 @@
|
|
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
training_operation_score = #{record.trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
pre_training_report_score = #{record.preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{record.reportstatus,jdbcType=VARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -1214,7 +1223,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
<set>
|
|
|
|
@ -1425,6 +1434,9 @@
|
|
|
|
|
<if test="trainingReportScore != null">
|
|
|
|
|
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="preTrainingReportScore != null">
|
|
|
|
|
pre_training_report_score = #{preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="totalscore != null">
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
</if>
|
|
|
|
@ -1441,7 +1453,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set userid = #{userid,jdbcType=BIGINT},
|
|
|
|
@ -1513,6 +1525,7 @@
|
|
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
|
|
training_operation_score = #{trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
pre_training_report_score = #{preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
report_content = #{reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
@ -1522,7 +1535,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Fri Aug 11 13:45:50 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set userid = #{userid,jdbcType=BIGINT},
|
|
|
|
@ -1594,8 +1607,12 @@
|
|
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
|
|
training_operation_score = #{trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
pre_training_report_score = #{preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{reportstatus,jdbcType=VARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
<select id="selectAllReportContent" resultMap="ResultMapWithBLOBs">
|
|
|
|
|
select id,userid,report_content from sys_training_score WHERE report_content IS NOT NULL
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|