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

master
xiaoCJ 2 years ago
parent 1aa78273bc
commit bc623ac1c4

@ -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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
@ -4914,13 +4914,83 @@ public class SysTrainingScoreExample {
addCriterion("totalscore not between", value1, value2, "totalscore");
return (Criteria) this;
}
public Criteria andReportstatusIsNull() {
addCriterion("reportstatus is null");
return (Criteria) this;
}
public Criteria andReportstatusIsNotNull() {
addCriterion("reportstatus is not null");
return (Criteria) this;
}
public Criteria andReportstatusEqualTo(String value) {
addCriterion("reportstatus =", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusNotEqualTo(String value) {
addCriterion("reportstatus <>", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusGreaterThan(String value) {
addCriterion("reportstatus >", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusGreaterThanOrEqualTo(String value) {
addCriterion("reportstatus >=", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusLessThan(String value) {
addCriterion("reportstatus <", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusLessThanOrEqualTo(String value) {
addCriterion("reportstatus <=", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusLike(String value) {
addCriterion("reportstatus like", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusNotLike(String value) {
addCriterion("reportstatus not like", value, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusIn(List<String> values) {
addCriterion("reportstatus in", values, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusNotIn(List<String> values) {
addCriterion("reportstatus not in", values, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusBetween(String value1, String value2) {
addCriterion("reportstatus between", value1, value2, "reportstatus");
return (Criteria) this;
}
public Criteria andReportstatusNotBetween(String value1, String value2) {
addCriterion("reportstatus not between", value1, value2, "reportstatus");
return (Criteria) this;
}
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score
*
* @mbg.generated do_not_delete_during_merge Fri Aug 11 13:24:16 CST 2023
* @mbg.generated do_not_delete_during_merge Mon Aug 21 11:45:49 CST 2023
*/
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
@ -4932,7 +5002,7 @@ public class SysTrainingScoreExample {
* This class was generated by MyBatis Generator.
* This class corresponds to the database table sys_training_score
*
* @mbg.generated Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 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 Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
*/
int updateByPrimaryKeyWithBLOBs(SysTrainingScore record);
@ -116,9 +114,7 @@ public interface SysTrainingScoreMapper {
* This method was generated by MyBatis Generator.
* This method corresponds to the database table sys_training_score
*
* @mbg.generated Fri Aug 11 13:24:16 CST 2023
* @mbg.generated Mon Aug 21 11:45:49 CST 2023
*/
int updateByPrimaryKey(SysTrainingScore record);
List<SysTrainingScore> selectAllReportContent();
}

@ -5,7 +5,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
<id column="id" jdbcType="VARCHAR" property="id" />
<result column="userid" jdbcType="BIGINT" property="userid" />
@ -78,12 +78,13 @@
<result column="training_operation_score" jdbcType="INTEGER" property="trainingOperationScore" />
<result column="training_report_score" jdbcType="INTEGER" property="trainingReportScore" />
<result column="totalscore" jdbcType="DOUBLE" property="totalscore" />
<result column="reportstatus" jdbcType="VARCHAR" property="reportstatus" />
</resultMap>
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ruoyi.system.domain.SysTrainingScore">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
<result column="report_content" jdbcType="LONGVARCHAR" property="reportContent" />
</resultMap>
@ -91,7 +92,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
@ -125,7 +126,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
@ -159,7 +160,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
id, userid, data_collection_step_description, data_collection_toolbar_button, data_collection_progress,
data_collection_score, data_collection_time, text_segmentation_step_description,
@ -184,24 +185,21 @@
data_visualization_time, report_submission_experience_page_save_button, report_submission_upload_report_button,
report_submission_submit_button, report_submission_progress, report_submission_score,
report_submission_time, report_upload_path, report_filename, status, training_operation_score,
training_report_score, totalscore
training_report_score, totalscore, reportstatus
</sql>
<sql id="Blob_Column_List">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
report_content
</sql>
<select id="selectAllReportContent" resultMap="BaseResultMap">
select id,userid,report_content from sys_training_score WHERE training_report_score IS NULL
</select>
<select id="selectByExampleWithBLOBs" parameterType="com.ruoyi.system.domain.SysTrainingScoreExample" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
select
<if test="distinct">
@ -222,7 +220,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
select
<if test="distinct">
@ -241,7 +239,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
select
<include refid="Base_Column_List" />
@ -254,7 +252,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
delete from sys_training_score
where id = #{id,jdbcType=VARCHAR}
@ -263,7 +261,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
delete from sys_training_score
<if test="_parameter != null">
@ -274,7 +272,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
insert into sys_training_score (id, userid, data_collection_step_description,
data_collection_toolbar_button, data_collection_progress,
@ -310,7 +308,8 @@
report_submission_score, report_submission_time,
report_upload_path, report_filename, status,
training_operation_score, training_report_score,
totalscore, report_content)
totalscore, reportstatus, report_content
)
values (#{id,jdbcType=VARCHAR}, #{userid,jdbcType=BIGINT}, #{dataCollectionStepDescription,jdbcType=VARCHAR},
#{dataCollectionToolbarButton,jdbcType=VARCHAR}, #{dataCollectionProgress,jdbcType=VARCHAR},
#{dataCollectionScore,jdbcType=INTEGER}, #{dataCollectionTime,jdbcType=TIMESTAMP},
@ -345,13 +344,14 @@
#{reportSubmissionScore,jdbcType=INTEGER}, #{reportSubmissionTime,jdbcType=TIMESTAMP},
#{reportUploadPath,jdbcType=VARCHAR}, #{reportFilename,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{trainingOperationScore,jdbcType=INTEGER}, #{trainingReportScore,jdbcType=INTEGER},
#{totalscore,jdbcType=DOUBLE}, #{reportContent,jdbcType=LONGVARCHAR})
#{totalscore,jdbcType=DOUBLE}, #{reportstatus,jdbcType=VARCHAR}, #{reportContent,jdbcType=LONGVARCHAR}
)
</insert>
<insert id="insertSelective" parameterType="com.ruoyi.system.domain.SysTrainingScore">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
insert into sys_training_score
<trim prefix="(" suffix=")" suffixOverrides=",">
@ -568,6 +568,9 @@
<if test="totalscore != null">
totalscore,
</if>
<if test="reportstatus != null">
reportstatus,
</if>
<if test="reportContent != null">
report_content,
</if>
@ -786,6 +789,9 @@
<if test="totalscore != null">
#{totalscore,jdbcType=DOUBLE},
</if>
<if test="reportstatus != null">
#{reportstatus,jdbcType=VARCHAR},
</if>
<if test="reportContent != null">
#{reportContent,jdbcType=LONGVARCHAR},
</if>
@ -795,7 +801,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
select count(*) from sys_training_score
<if test="_parameter != null">
@ -806,7 +812,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
update sys_training_score
<set>
@ -1023,6 +1029,9 @@
<if test="record.totalscore != null">
totalscore = #{record.totalscore,jdbcType=DOUBLE},
</if>
<if test="record.reportstatus != null">
reportstatus = #{record.reportstatus,jdbcType=VARCHAR},
</if>
<if test="record.reportContent != null">
report_content = #{record.reportContent,jdbcType=LONGVARCHAR},
</if>
@ -1035,7 +1044,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
update sys_training_score
set id = #{record.id,jdbcType=VARCHAR},
@ -1109,6 +1118,7 @@
training_operation_score = #{record.trainingOperationScore,jdbcType=INTEGER},
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
totalscore = #{record.totalscore,jdbcType=DOUBLE},
reportstatus = #{record.reportstatus,jdbcType=VARCHAR},
report_content = #{record.reportContent,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@ -1118,7 +1128,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
update sys_training_score
set id = #{record.id,jdbcType=VARCHAR},
@ -1191,7 +1201,8 @@
status = #{record.status,jdbcType=INTEGER},
training_operation_score = #{record.trainingOperationScore,jdbcType=INTEGER},
training_report_score = #{record.trainingReportScore,jdbcType=INTEGER},
totalscore = #{record.totalscore,jdbcType=DOUBLE}
totalscore = #{record.totalscore,jdbcType=DOUBLE},
reportstatus = #{record.reportstatus,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -1200,7 +1211,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
update sys_training_score
<set>
@ -1414,6 +1425,9 @@
<if test="totalscore != null">
totalscore = #{totalscore,jdbcType=DOUBLE},
</if>
<if test="reportstatus != null">
reportstatus = #{reportstatus,jdbcType=VARCHAR},
</if>
<if test="reportContent != null">
report_content = #{reportContent,jdbcType=LONGVARCHAR},
</if>
@ -1424,7 +1438,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
update sys_training_score
set userid = #{userid,jdbcType=BIGINT},
@ -1497,6 +1511,7 @@
training_operation_score = #{trainingOperationScore,jdbcType=INTEGER},
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
totalscore = #{totalscore,jdbcType=DOUBLE},
reportstatus = #{reportstatus,jdbcType=VARCHAR},
report_content = #{reportContent,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
@ -1504,7 +1519,7 @@
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
This element was generated on Fri Aug 11 13:45:50 CST 2023.
This element was generated on Mon Aug 21 11:45:49 CST 2023.
-->
update sys_training_score
set userid = #{userid,jdbcType=BIGINT},
@ -1576,7 +1591,11 @@
status = #{status,jdbcType=INTEGER},
training_operation_score = #{trainingOperationScore,jdbcType=INTEGER},
training_report_score = #{trainingReportScore,jdbcType=INTEGER},
totalscore = #{totalscore,jdbcType=DOUBLE}
totalscore = #{totalscore,jdbcType=DOUBLE},
reportstatus = #{reportstatus,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id="selectAllReportContent" resultMap="BaseResultMap">
select id,userid,report_content from sys_training_score WHERE training_report_score IS NULL
</select>
</mapper>
Loading…
Cancel
Save