|
|
|
@ -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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
|
|
<result column="userid" jdbcType="BIGINT" property="userid" />
|
|
|
|
@ -78,12 +78,13 @@
|
|
|
|
|
<result column="training_operation_score" jdbcType="INTEGER" property="trainingOperationScore" />
|
|
|
|
|
<result column="training_report_score" jdbcType="INTEGER" property="trainingReportScore" />
|
|
|
|
|
<result column="totalscore" jdbcType="DOUBLE" property="totalscore" />
|
|
|
|
|
<result column="reportstatus" jdbcType="VARCHAR" property="reportstatus" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<result column="report_content" jdbcType="LONGVARCHAR" property="reportContent" />
|
|
|
|
|
</resultMap>
|
|
|
|
@ -91,7 +92,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<where>
|
|
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
|
@ -125,7 +126,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<where>
|
|
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
|
@ -159,7 +160,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 Mon Aug 21 11:45:49 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,
|
|
|
|
@ -184,24 +185,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
|
|
|
|
|
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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
report_content
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectAllReportContent" resultMap="BaseResultMap">
|
|
|
|
|
select id,userid,report_content from sys_training_score WHERE training_report_score IS 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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
@ -222,7 +220,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
@ -241,7 +239,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<include refid="Base_Column_List" />
|
|
|
|
@ -254,7 +252,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
delete from sys_training_score
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
@ -263,7 +261,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
delete from sys_training_score
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -274,7 +272,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
insert into sys_training_score (id, userid, data_collection_step_description,
|
|
|
|
|
data_collection_toolbar_button, data_collection_progress,
|
|
|
|
@ -310,7 +308,8 @@
|
|
|
|
|
report_submission_score, report_submission_time,
|
|
|
|
|
report_upload_path, report_filename, status,
|
|
|
|
|
training_operation_score, training_report_score,
|
|
|
|
|
totalscore, report_content)
|
|
|
|
|
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},
|
|
|
|
@ -345,13 +344,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}, #{reportContent,jdbcType=LONGVARCHAR})
|
|
|
|
|
#{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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
insert into sys_training_score
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
@ -568,6 +568,9 @@
|
|
|
|
|
<if test="totalscore != null">
|
|
|
|
|
totalscore,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportstatus != null">
|
|
|
|
|
reportstatus,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportContent != null">
|
|
|
|
|
report_content,
|
|
|
|
|
</if>
|
|
|
|
@ -786,6 +789,9 @@
|
|
|
|
|
<if test="totalscore != null">
|
|
|
|
|
#{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportstatus != null">
|
|
|
|
|
#{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportContent != null">
|
|
|
|
|
#{reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -795,7 +801,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select count(*) from sys_training_score
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -806,7 +812,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
<set>
|
|
|
|
@ -1023,6 +1029,9 @@
|
|
|
|
|
<if test="record.totalscore != null">
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.reportstatus != null">
|
|
|
|
|
reportstatus = #{record.reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.reportContent != null">
|
|
|
|
|
report_content = #{record.reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -1035,7 +1044,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
@ -1109,6 +1118,7 @@
|
|
|
|
|
training_operation_score = #{record.trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{record.reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
report_content = #{record.reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -1118,7 +1128,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
@ -1191,7 +1201,8 @@
|
|
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
training_operation_score = #{record.trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE}
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{record.reportstatus,jdbcType=VARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
@ -1200,7 +1211,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
<set>
|
|
|
|
@ -1414,6 +1425,9 @@
|
|
|
|
|
<if test="totalscore != null">
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportstatus != null">
|
|
|
|
|
reportstatus = #{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportContent != null">
|
|
|
|
|
report_content = #{reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -1424,7 +1438,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set userid = #{userid,jdbcType=BIGINT},
|
|
|
|
@ -1497,6 +1511,7 @@
|
|
|
|
|
training_operation_score = #{trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
report_content = #{reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
@ -1504,7 +1519,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 Mon Aug 21 11:45:49 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set userid = #{userid,jdbcType=BIGINT},
|
|
|
|
@ -1576,7 +1591,11 @@
|
|
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
|
|
training_operation_score = #{trainingOperationScore,jdbcType=INTEGER},
|
|
|
|
|
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE}
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{reportstatus,jdbcType=VARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
<select id="selectAllReportContent" resultMap="BaseResultMap">
|
|
|
|
|
select id,userid,report_content from sys_training_score WHERE training_report_score IS NULL
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|