新增总成绩字段,以及部分接口

master
xiaoCJ 2 years ago
parent 6f52d7d6be
commit 06232a43fb

@ -9,7 +9,7 @@ public class SysTrainingScoreExample {
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
protected String orderByClause;
@ -17,7 +17,7 @@ public class SysTrainingScoreExample {
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
protected boolean distinct;
@ -25,7 +25,7 @@ public class SysTrainingScoreExample {
* This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
protected List<Criteria> oredCriteria;
@ -33,7 +33,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public SysTrainingScoreExample() {
oredCriteria = new ArrayList<>();
@ -43,7 +43,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
@ -53,7 +53,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public String getOrderByClause() {
return orderByClause;
@ -63,7 +63,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
@ -73,7 +73,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public boolean isDistinct() {
return distinct;
@ -83,7 +83,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
@ -93,7 +93,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
@ -103,7 +103,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
@ -115,7 +115,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
@ -129,7 +129,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
@ -140,7 +140,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public void clear() {
oredCriteria.clear();
@ -152,7 +152,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
@ -5050,7 +5050,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score
*
* @mbg.generated do_not_delete_during_merge Tue Aug 22 17:29:12 CST 2023
* @mbg.generated do_not_delete_during_merge Tue Aug 29 17:21:26 CST 2023
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
@ -5062,7 +5062,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public static class Criterion {
private String condition;

@ -0,0 +1,69 @@
package com.ruoyi.system.domain;
public class SysTrainingScoreWithBLOBs extends SysTrainingScore {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column sys_training_score.report_content
*
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
private String reportContent;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column sys_training_score.report_save_content
*
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
private String reportSaveContent;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column sys_training_score.report_content
*
* @return the value of sys_training_score.report_content
*
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public String getReportContent() {
return reportContent;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column sys_training_score.report_content
*
* @param reportContent the value for sys_training_score.report_content
*
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public void setReportContent(String reportContent) {
this.reportContent = reportContent == null ? null : reportContent.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column sys_training_score.report_save_content
*
* @return the value of sys_training_score.report_save_content
*
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public String getReportSaveContent() {
return reportSaveContent;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column sys_training_score.report_save_content
*
* @param reportSaveContent the value for sys_training_score.report_save_content
*
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
public void setReportSaveContent(String reportSaveContent) {
this.reportSaveContent = reportSaveContent == null ? null : reportSaveContent.trim();
}
}

@ -2,17 +2,16 @@ package com.ruoyi.system.mapper;
import com.ruoyi.system.domain.SysTrainingScore;
import com.ruoyi.system.domain.SysTrainingScoreExample;
import com.ruoyi.system.domain.SysTrainingScoreWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysTrainingScoreMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
long countByExample(SysTrainingScoreExample example);
@ -20,7 +19,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int deleteByExample(SysTrainingScoreExample example);
@ -28,7 +27,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int deleteByPrimaryKey(String id);
@ -36,31 +35,31 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int insert(SysTrainingScore record);
int insert(SysTrainingScoreWithBLOBs record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int insertSelective(SysTrainingScore record);
int insertSelective(SysTrainingScoreWithBLOBs record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
List<SysTrainingScore> selectByExampleWithBLOBs(SysTrainingScoreExample example);
List<SysTrainingScoreWithBLOBs> selectByExampleWithBLOBs(SysTrainingScoreExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
List<SysTrainingScore> selectByExample(SysTrainingScoreExample example);
@ -68,31 +67,31 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
SysTrainingScore selectByPrimaryKey(String id);
SysTrainingScoreWithBLOBs selectByPrimaryKey(String id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int updateByExampleSelective(@Param("record") SysTrainingScore record, @Param("example") SysTrainingScoreExample example);
int updateByExampleSelective(@Param("record") SysTrainingScoreWithBLOBs record, @Param("example") SysTrainingScoreExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int updateByExampleWithBLOBs(@Param("record") SysTrainingScore record, @Param("example") SysTrainingScoreExample example);
int updateByExampleWithBLOBs(@Param("record") SysTrainingScoreWithBLOBs record, @Param("example") SysTrainingScoreExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int updateByExample(@Param("record") SysTrainingScore record, @Param("example") SysTrainingScoreExample example);
@ -100,30 +99,23 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int updateByPrimaryKeySelective(SysTrainingScore record);
int updateByPrimaryKeySelective(SysTrainingScoreWithBLOBs record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int updateByPrimaryKeyWithBLOBs(SysTrainingScore record);
int updateByPrimaryKeyWithBLOBs(SysTrainingScoreWithBLOBs record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
* @mbg.generated Tue Aug 29 17:21:26 CST 2023
*/
int updateByPrimaryKey(SysTrainingScore record);
List<SysTrainingScore> selectAllReportContent();
void deleteByUserId(Long userId);
void deleteByUserIds(Long[] userIds);
}

@ -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>

Loading…
Cancel
Save