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

master
xiaoCJ
parent 6f52d7d6be
commit 06232a43fb

@ -9,7 +9,7 @@ public class SysTrainingScoreExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training_score * 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; protected String orderByClause;
@ -17,7 +17,7 @@ public class SysTrainingScoreExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training_score * 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; protected boolean distinct;
@ -25,7 +25,7 @@ public class SysTrainingScoreExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table sys_training_score * 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; protected List<Criteria> oredCriteria;
@ -33,7 +33,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public SysTrainingScoreExample() {
oredCriteria = new ArrayList<>(); oredCriteria = new ArrayList<>();
@ -43,7 +43,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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) { public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause; this.orderByClause = orderByClause;
@ -53,7 +53,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public String getOrderByClause() {
return orderByClause; return orderByClause;
@ -63,7 +63,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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) { public void setDistinct(boolean distinct) {
this.distinct = distinct; this.distinct = distinct;
@ -73,7 +73,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public boolean isDistinct() {
return distinct; return distinct;
@ -83,7 +83,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public List<Criteria> getOredCriteria() {
return oredCriteria; return oredCriteria;
@ -93,7 +93,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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) { public void or(Criteria criteria) {
oredCriteria.add(criteria); oredCriteria.add(criteria);
@ -103,7 +103,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public Criteria or() {
Criteria criteria = createCriteriaInternal(); Criteria criteria = createCriteriaInternal();
@ -115,7 +115,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal(); Criteria criteria = createCriteriaInternal();
@ -129,7 +129,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(); Criteria criteria = new Criteria();
@ -140,7 +140,7 @@ public class SysTrainingScoreExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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() { public void clear() {
oredCriteria.clear(); oredCriteria.clear();
@ -152,7 +152,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score * 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 abstract static class GeneratedCriteria {
protected List<Criterion> criteria; protected List<Criterion> criteria;
@ -5050,7 +5050,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score * 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 { public static class Criteria extends GeneratedCriteria {
protected Criteria() { protected Criteria() {
@ -5062,7 +5062,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score * 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 { public static class Criterion {
private String condition; 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.SysTrainingScore;
import com.ruoyi.system.domain.SysTrainingScoreExample; import com.ruoyi.system.domain.SysTrainingScoreExample;
import com.ruoyi.system.domain.SysTrainingScoreWithBLOBs;
import java.util.List; import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysTrainingScoreMapper { public interface SysTrainingScoreMapper {
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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); long countByExample(SysTrainingScoreExample example);
@ -20,7 +19,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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); int deleteByExample(SysTrainingScoreExample example);
@ -28,7 +27,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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); int deleteByPrimaryKey(String id);
@ -36,31 +35,31 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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); List<SysTrainingScore> selectByExample(SysTrainingScoreExample example);
@ -68,31 +67,31 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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); 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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 was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score * 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); int updateByPrimaryKey(SysTrainingScore record);
List<SysTrainingScore> selectAllReportContent();
void deleteByUserId(Long userId);
void deleteByUserIds(Long[] userIds);
} }

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

Loading…
Cancel
Save