|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
|
|
<result column="userid" jdbcType="BIGINT" property="userid" />
|
|
|
|
@ -81,19 +81,20 @@
|
|
|
|
|
<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">
|
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ruoyi.system.domain.SysTrainingScoreWithBLOBs">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<result column="report_content" jdbcType="LONGVARCHAR" property="reportContent" />
|
|
|
|
|
<result column="report_save_content" jdbcType="LONGVARCHAR" property="reportSaveContent" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<where>
|
|
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
|
@ -127,7 +128,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<where>
|
|
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
|
@ -161,7 +162,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 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,
|
|
|
|
@ -192,15 +193,15 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
report_content
|
|
|
|
|
report_content, report_save_content
|
|
|
|
|
</sql>
|
|
|
|
|
<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 Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
@ -221,7 +222,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
@ -240,7 +241,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select
|
|
|
|
|
<include refid="Base_Column_List" />
|
|
|
|
@ -253,7 +254,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
delete from sys_training_score
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
@ -262,18 +263,18 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
delete from sys_training_score
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
|
</delete>
|
|
|
|
|
<insert id="insert" parameterType="com.ruoyi.system.domain.SysTrainingScore">
|
|
|
|
|
<insert id="insert" parameterType="com.ruoyi.system.domain.SysTrainingScoreWithBLOBs">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
insert into sys_training_score (id, userid, data_collection_step_description,
|
|
|
|
|
data_collection_toolbar_button, data_collection_progress,
|
|
|
|
@ -310,7 +311,8 @@
|
|
|
|
|
report_upload_path, report_filename, status,
|
|
|
|
|
training_operation_score, training_report_score,
|
|
|
|
|
pre_training_report_score, totalscore, reportstatus,
|
|
|
|
|
report_content)
|
|
|
|
|
report_content, report_save_content
|
|
|
|
|
)
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{userid,jdbcType=BIGINT}, #{dataCollectionStepDescription,jdbcType=VARCHAR},
|
|
|
|
|
#{dataCollectionToolbarButton,jdbcType=VARCHAR}, #{dataCollectionProgress,jdbcType=VARCHAR},
|
|
|
|
|
#{dataCollectionScore,jdbcType=INTEGER}, #{dataCollectionTime,jdbcType=TIMESTAMP},
|
|
|
|
@ -346,13 +348,14 @@
|
|
|
|
|
#{reportUploadPath,jdbcType=VARCHAR}, #{reportFilename,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
|
|
|
|
|
#{trainingOperationScore,jdbcType=INTEGER}, #{trainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
#{preTrainingReportScore,jdbcType=INTEGER}, #{totalscore,jdbcType=DOUBLE}, #{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
#{reportContent,jdbcType=LONGVARCHAR})
|
|
|
|
|
#{reportContent,jdbcType=LONGVARCHAR}, #{reportSaveContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.ruoyi.system.domain.SysTrainingScore">
|
|
|
|
|
<insert id="insertSelective" parameterType="com.ruoyi.system.domain.SysTrainingScoreWithBLOBs">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
insert into sys_training_score
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
@ -578,6 +581,9 @@
|
|
|
|
|
<if test="reportContent != null">
|
|
|
|
|
report_content,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportSaveContent != null">
|
|
|
|
|
report_save_content,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">
|
|
|
|
@ -802,13 +808,16 @@
|
|
|
|
|
<if test="reportContent != null">
|
|
|
|
|
#{reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportSaveContent != null">
|
|
|
|
|
#{reportSaveContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
<select id="countByExample" parameterType="com.ruoyi.system.domain.SysTrainingScoreExample" resultType="java.lang.Long">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
select count(*) from sys_training_score
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -819,7 +828,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
<set>
|
|
|
|
@ -1045,6 +1054,9 @@
|
|
|
|
|
<if test="record.reportContent != null">
|
|
|
|
|
report_content = #{record.reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.reportSaveContent != null">
|
|
|
|
|
report_save_content = #{record.reportSaveContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -1054,7 +1066,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
@ -1130,7 +1142,8 @@
|
|
|
|
|
pre_training_report_score = #{record.preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{record.totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{record.reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
report_content = #{record.reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
report_content = #{record.reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
report_save_content = #{record.reportSaveContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
@ -1139,7 +1152,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
@ -1219,11 +1232,11 @@
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
|
</update>
|
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.system.domain.SysTrainingScore">
|
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.system.domain.SysTrainingScoreWithBLOBs">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
<set>
|
|
|
|
@ -1446,14 +1459,17 @@
|
|
|
|
|
<if test="reportContent != null">
|
|
|
|
|
report_content = #{reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="reportSaveContent != null">
|
|
|
|
|
report_save_content = #{reportSaveContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ruoyi.system.domain.SysTrainingScore">
|
|
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ruoyi.system.domain.SysTrainingScoreWithBLOBs">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set userid = #{userid,jdbcType=BIGINT},
|
|
|
|
@ -1528,14 +1544,15 @@
|
|
|
|
|
pre_training_report_score = #{preTrainingReportScore,jdbcType=INTEGER},
|
|
|
|
|
totalscore = #{totalscore,jdbcType=DOUBLE},
|
|
|
|
|
reportstatus = #{reportstatus,jdbcType=VARCHAR},
|
|
|
|
|
report_content = #{reportContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
report_content = #{reportContent,jdbcType=LONGVARCHAR},
|
|
|
|
|
report_save_content = #{reportSaveContent,jdbcType=LONGVARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|
<update id="updateByPrimaryKey" 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 Tue Aug 22 17:29:12 CST 2023.
|
|
|
|
|
This element was generated on Tue Aug 29 17:21:26 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
update sys_training_score
|
|
|
|
|
set userid = #{userid,jdbcType=BIGINT},
|
|
|
|
@ -1622,7 +1639,7 @@
|
|
|
|
|
|
|
|
|
|
<delete id="deleteByUserIds" parameterType="Long">
|
|
|
|
|
delete from sys_training_score where userid in
|
|
|
|
|
<foreach collection="array" item="userid" open="(" separator="," close=")">
|
|
|
|
|
<foreach close=")" collection="array" item="userid" open="(" separator=",">
|
|
|
|
|
#{userId}
|
|
|
|
|
</foreach>
|
|
|
|
|
</delete>
|
|
|
|
|