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

master
xiaoCJ 2 years ago
parent 1dfd9f2b44
commit 37a118a46b

@ -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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
@ -4855,6 +4855,66 @@ public class SysTrainingScoreExample {
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreIsNull() {
addCriterion("pre_training_report_score is null");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreIsNotNull() {
addCriterion("pre_training_report_score is not null");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreEqualTo(Integer value) {
addCriterion("pre_training_report_score =", value, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreNotEqualTo(Integer value) {
addCriterion("pre_training_report_score <>", value, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreGreaterThan(Integer value) {
addCriterion("pre_training_report_score >", value, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreGreaterThanOrEqualTo(Integer value) {
addCriterion("pre_training_report_score >=", value, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreLessThan(Integer value) {
addCriterion("pre_training_report_score <", value, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreLessThanOrEqualTo(Integer value) {
addCriterion("pre_training_report_score <=", value, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreIn(List<Integer> values) {
addCriterion("pre_training_report_score in", values, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreNotIn(List<Integer> values) {
addCriterion("pre_training_report_score not in", values, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreBetween(Integer value1, Integer value2) {
addCriterion("pre_training_report_score between", value1, value2, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andPreTrainingReportScoreNotBetween(Integer value1, Integer value2) {
addCriterion("pre_training_report_score not between", value1, value2, "preTrainingReportScore");
return (Criteria) this;
}
public Criteria andTotalscoreIsNull() {
addCriterion("totalscore is null");
return (Criteria) this;
@ -4990,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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated do_not_delete_during_merge Tue Aug 22 17:29:12 CST 2023
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
@ -5002,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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
public static class Criterion {
private String condition;

@ -3,16 +3,14 @@ package com.ruoyi.system.mapper;
import com.ruoyi.system.domain.SysTrainingScore;
import com.ruoyi.system.domain.SysTrainingScoreExample;
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 Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
long countByExample(SysTrainingScoreExample example);
@ -20,7 +18,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int deleteByExample(SysTrainingScoreExample example);
@ -28,7 +26,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int deleteByPrimaryKey(String id);
@ -36,7 +34,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int insert(SysTrainingScore record);
@ -44,7 +42,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int insertSelective(SysTrainingScore record);
@ -52,7 +50,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
List<SysTrainingScore> selectByExampleWithBLOBs(SysTrainingScoreExample example);
@ -60,7 +58,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
List<SysTrainingScore> selectByExample(SysTrainingScoreExample example);
@ -68,7 +66,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
SysTrainingScore selectByPrimaryKey(String id);
@ -76,7 +74,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int updateByExampleSelective(@Param("record") SysTrainingScore record, @Param("example") SysTrainingScoreExample example);
@ -84,7 +82,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int updateByExampleWithBLOBs(@Param("record") SysTrainingScore record, @Param("example") SysTrainingScoreExample example);
@ -92,7 +90,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int updateByExample(@Param("record") SysTrainingScore record, @Param("example") SysTrainingScoreExample example);
@ -100,7 +98,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int updateByPrimaryKeySelective(SysTrainingScore record);
@ -108,7 +106,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int updateByPrimaryKeyWithBLOBs(SysTrainingScore record);
@ -116,7 +114,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
* @mbg.generated Tue Aug 22 17:29:12 CST 2023
*/
int updateByPrimaryKey(SysTrainingScore record);

@ -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>
Loading…
Cancel
Save