|
|
@@ -0,0 +1,425 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.mirage.mirageservice.mapper.mysql.StudentDataReportMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.mirage.mirageservice.domain.StudentDataReport">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ <!--@Table student_data_report-->
|
|
|
+ <id column="id" jdbcType="INTEGER" property="id" />
|
|
|
+ <result column="report_name" jdbcType="VARCHAR" property="reportName" />
|
|
|
+ <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="deleted" jdbcType="BOOLEAN" property="deleted" />
|
|
|
+ <result column="create_by" jdbcType="VARCHAR" property="createBy" />
|
|
|
+ <result column="update_by" jdbcType="VARCHAR" property="updateBy" />
|
|
|
+ <result column="student_id" jdbcType="BIGINT" property="studentId" />
|
|
|
+ <result column="student_name" jdbcType="VARCHAR" property="studentName" />
|
|
|
+ <result column="teacher_name" jdbcType="VARCHAR" property="teacherName" />
|
|
|
+ <result column="start_node" jdbcType="VARCHAR" property="startNode" />
|
|
|
+ <result column="end_node" jdbcType="VARCHAR" property="endNode" />
|
|
|
+ <result column="start_base_data" jdbcType="LONGVARCHAR" property="startBaseData" />
|
|
|
+ <result column="end_base_data" jdbcType="LONGVARCHAR" property="endBaseData" />
|
|
|
+ <result column="start_words_data" jdbcType="LONGVARCHAR" property="startWordsData" />
|
|
|
+ <result column="end_words_data" jdbcType="LONGVARCHAR" property="endWordsData" />
|
|
|
+ <result column="process_data" jdbcType="LONGVARCHAR" property="processData" />
|
|
|
+ <result column="vocabulary_change_data" jdbcType="LONGVARCHAR" property="vocabularyChangeData" />
|
|
|
+ <result column="difficulties_data" jdbcType="LONGVARCHAR" property="difficultiesData" />
|
|
|
+ <result column="vocabulary_contrast_data" jdbcType="LONGVARCHAR" property="vocabularyContrastData" />
|
|
|
+ <result column="speed_data" jdbcType="LONGVARCHAR" property="speedData" />
|
|
|
+ <result column="amount_data" jdbcType="LONGVARCHAR" property="amountData" />
|
|
|
+ <result column="accuracy_data" jdbcType="LONGVARCHAR" property="accuracyData" />
|
|
|
+ <result column="scores_data" jdbcType="LONGVARCHAR" property="scoresData" />
|
|
|
+ <result column="ranking_data" jdbcType="LONGVARCHAR" property="rankingData" />
|
|
|
+ <result column="business_name" jdbcType="VARCHAR" property="businessName" />
|
|
|
+ <result column="business_phone" jdbcType="VARCHAR" property="businessPhone" />
|
|
|
+ <result column="learn_advice" jdbcType="LONGVARCHAR" property="learnAdvice" />
|
|
|
+ <result column="view_url" jdbcType="VARCHAR" property="viewUrl" />
|
|
|
+ <result column="class_name" jdbcType="VARCHAR" property="className" />
|
|
|
+ <result column="student_num" jdbcType="VARCHAR" property="studentNum" />
|
|
|
+ <result column="student_stage" jdbcType="INTEGER" property="studentStage" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ id, report_name, create_time, update_time, deleted, create_by, update_by, student_id,
|
|
|
+ student_name, teacher_name, start_node, end_node, start_base_data, end_base_data,
|
|
|
+ start_words_data, end_words_data, process_data, vocabulary_change_data, difficulties_data,
|
|
|
+ vocabulary_contrast_data, speed_data, amount_data, accuracy_data, scores_data, ranking_data,
|
|
|
+ business_name, business_phone, learn_advice, view_url, class_name, student_num, student_stage
|
|
|
+ </sql>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from student_data_report
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ delete from student_data_report
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.mirage.mirageservice.domain.StudentDataReport" useGeneratedKeys="true">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ insert into student_data_report (report_name, create_time, update_time,
|
|
|
+ deleted, create_by, update_by,
|
|
|
+ student_id, student_name, teacher_name,
|
|
|
+ start_node, end_node, start_base_data,
|
|
|
+ end_base_data, start_words_data, end_words_data,
|
|
|
+ process_data, vocabulary_change_data,
|
|
|
+ difficulties_data, vocabulary_contrast_data,
|
|
|
+ speed_data, amount_data, accuracy_data,
|
|
|
+ scores_data, ranking_data, business_name,
|
|
|
+ business_phone, learn_advice, view_url,
|
|
|
+ class_name, student_num, student_stage
|
|
|
+ )
|
|
|
+ values (#{reportName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ #{deleted,jdbcType=BOOLEAN}, #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR},
|
|
|
+ #{studentId,jdbcType=BIGINT}, #{studentName,jdbcType=VARCHAR}, #{teacherName,jdbcType=VARCHAR},
|
|
|
+ #{startNode,jdbcType=VARCHAR}, #{endNode,jdbcType=VARCHAR}, #{startBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ #{endBaseData,jdbcType=LONGVARCHAR}, #{startWordsData,jdbcType=LONGVARCHAR}, #{endWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ #{processData,jdbcType=LONGVARCHAR}, #{vocabularyChangeData,jdbcType=LONGVARCHAR},
|
|
|
+ #{difficultiesData,jdbcType=LONGVARCHAR}, #{vocabularyContrastData,jdbcType=LONGVARCHAR},
|
|
|
+ #{speedData,jdbcType=LONGVARCHAR}, #{amountData,jdbcType=LONGVARCHAR}, #{accuracyData,jdbcType=LONGVARCHAR},
|
|
|
+ #{scoresData,jdbcType=LONGVARCHAR}, #{rankingData,jdbcType=LONGVARCHAR}, #{businessName,jdbcType=VARCHAR},
|
|
|
+ #{businessPhone,jdbcType=VARCHAR}, #{learnAdvice,jdbcType=LONGVARCHAR}, #{viewUrl,jdbcType=VARCHAR},
|
|
|
+ #{className,jdbcType=VARCHAR}, #{studentNum,jdbcType=VARCHAR}, #{studentStage,jdbcType=INTEGER}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.mirage.mirageservice.domain.StudentDataReport" useGeneratedKeys="true">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ insert into student_data_report
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="reportName != null">
|
|
|
+ report_name,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ update_time,
|
|
|
+ </if>
|
|
|
+ <if test="deleted != null">
|
|
|
+ deleted,
|
|
|
+ </if>
|
|
|
+ <if test="createBy != null">
|
|
|
+ create_by,
|
|
|
+ </if>
|
|
|
+ <if test="updateBy != null">
|
|
|
+ update_by,
|
|
|
+ </if>
|
|
|
+ <if test="studentId != null">
|
|
|
+ student_id,
|
|
|
+ </if>
|
|
|
+ <if test="studentName != null">
|
|
|
+ student_name,
|
|
|
+ </if>
|
|
|
+ <if test="teacherName != null">
|
|
|
+ teacher_name,
|
|
|
+ </if>
|
|
|
+ <if test="startNode != null">
|
|
|
+ start_node,
|
|
|
+ </if>
|
|
|
+ <if test="endNode != null">
|
|
|
+ end_node,
|
|
|
+ </if>
|
|
|
+ <if test="startBaseData != null">
|
|
|
+ start_base_data,
|
|
|
+ </if>
|
|
|
+ <if test="endBaseData != null">
|
|
|
+ end_base_data,
|
|
|
+ </if>
|
|
|
+ <if test="startWordsData != null">
|
|
|
+ start_words_data,
|
|
|
+ </if>
|
|
|
+ <if test="endWordsData != null">
|
|
|
+ end_words_data,
|
|
|
+ </if>
|
|
|
+ <if test="processData != null">
|
|
|
+ process_data,
|
|
|
+ </if>
|
|
|
+ <if test="vocabularyChangeData != null">
|
|
|
+ vocabulary_change_data,
|
|
|
+ </if>
|
|
|
+ <if test="difficultiesData != null">
|
|
|
+ difficulties_data,
|
|
|
+ </if>
|
|
|
+ <if test="vocabularyContrastData != null">
|
|
|
+ vocabulary_contrast_data,
|
|
|
+ </if>
|
|
|
+ <if test="speedData != null">
|
|
|
+ speed_data,
|
|
|
+ </if>
|
|
|
+ <if test="amountData != null">
|
|
|
+ amount_data,
|
|
|
+ </if>
|
|
|
+ <if test="accuracyData != null">
|
|
|
+ accuracy_data,
|
|
|
+ </if>
|
|
|
+ <if test="scoresData != null">
|
|
|
+ scores_data,
|
|
|
+ </if>
|
|
|
+ <if test="rankingData != null">
|
|
|
+ ranking_data,
|
|
|
+ </if>
|
|
|
+ <if test="businessName != null">
|
|
|
+ business_name,
|
|
|
+ </if>
|
|
|
+ <if test="businessPhone != null">
|
|
|
+ business_phone,
|
|
|
+ </if>
|
|
|
+ <if test="learnAdvice != null">
|
|
|
+ learn_advice,
|
|
|
+ </if>
|
|
|
+ <if test="viewUrl != null">
|
|
|
+ view_url,
|
|
|
+ </if>
|
|
|
+ <if test="className != null">
|
|
|
+ class_name,
|
|
|
+ </if>
|
|
|
+ <if test="studentNum != null">
|
|
|
+ student_num,
|
|
|
+ </if>
|
|
|
+ <if test="studentStage != null">
|
|
|
+ student_stage,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="reportName != null">
|
|
|
+ #{reportName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="deleted != null">
|
|
|
+ #{deleted,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="createBy != null">
|
|
|
+ #{createBy,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="updateBy != null">
|
|
|
+ #{updateBy,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="studentId != null">
|
|
|
+ #{studentId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="studentName != null">
|
|
|
+ #{studentName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="teacherName != null">
|
|
|
+ #{teacherName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="startNode != null">
|
|
|
+ #{startNode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endNode != null">
|
|
|
+ #{endNode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="startBaseData != null">
|
|
|
+ #{startBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endBaseData != null">
|
|
|
+ #{endBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="startWordsData != null">
|
|
|
+ #{startWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endWordsData != null">
|
|
|
+ #{endWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="processData != null">
|
|
|
+ #{processData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="vocabularyChangeData != null">
|
|
|
+ #{vocabularyChangeData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="difficultiesData != null">
|
|
|
+ #{difficultiesData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="vocabularyContrastData != null">
|
|
|
+ #{vocabularyContrastData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="speedData != null">
|
|
|
+ #{speedData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="amountData != null">
|
|
|
+ #{amountData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="accuracyData != null">
|
|
|
+ #{accuracyData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="scoresData != null">
|
|
|
+ #{scoresData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rankingData != null">
|
|
|
+ #{rankingData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessName != null">
|
|
|
+ #{businessName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessPhone != null">
|
|
|
+ #{businessPhone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="learnAdvice != null">
|
|
|
+ #{learnAdvice,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="viewUrl != null">
|
|
|
+ #{viewUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="className != null">
|
|
|
+ #{className,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="studentNum != null">
|
|
|
+ #{studentNum,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="studentStage != null">
|
|
|
+ #{studentStage,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.mirage.mirageservice.domain.StudentDataReport">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ update student_data_report
|
|
|
+ <set>
|
|
|
+ <if test="reportName != null">
|
|
|
+ report_name = #{reportName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="deleted != null">
|
|
|
+ deleted = #{deleted,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="createBy != null">
|
|
|
+ create_by = #{createBy,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="updateBy != null">
|
|
|
+ update_by = #{updateBy,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="studentId != null">
|
|
|
+ student_id = #{studentId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="studentName != null">
|
|
|
+ student_name = #{studentName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="teacherName != null">
|
|
|
+ teacher_name = #{teacherName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="startNode != null">
|
|
|
+ start_node = #{startNode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endNode != null">
|
|
|
+ end_node = #{endNode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="startBaseData != null">
|
|
|
+ start_base_data = #{startBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endBaseData != null">
|
|
|
+ end_base_data = #{endBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="startWordsData != null">
|
|
|
+ start_words_data = #{startWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="endWordsData != null">
|
|
|
+ end_words_data = #{endWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="processData != null">
|
|
|
+ process_data = #{processData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="vocabularyChangeData != null">
|
|
|
+ vocabulary_change_data = #{vocabularyChangeData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="difficultiesData != null">
|
|
|
+ difficulties_data = #{difficultiesData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="vocabularyContrastData != null">
|
|
|
+ vocabulary_contrast_data = #{vocabularyContrastData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="speedData != null">
|
|
|
+ speed_data = #{speedData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="amountData != null">
|
|
|
+ amount_data = #{amountData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="accuracyData != null">
|
|
|
+ accuracy_data = #{accuracyData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="scoresData != null">
|
|
|
+ scores_data = #{scoresData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rankingData != null">
|
|
|
+ ranking_data = #{rankingData,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessName != null">
|
|
|
+ business_name = #{businessName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="businessPhone != null">
|
|
|
+ business_phone = #{businessPhone,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="learnAdvice != null">
|
|
|
+ learn_advice = #{learnAdvice,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="viewUrl != null">
|
|
|
+ view_url = #{viewUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="className != null">
|
|
|
+ class_name = #{className,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="studentNum != null">
|
|
|
+ student_num = #{studentNum,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="studentStage != null">
|
|
|
+ student_stage = #{studentStage,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.mirage.mirageservice.domain.StudentDataReport">
|
|
|
+ <!--@mbg.generated-->
|
|
|
+ update student_data_report
|
|
|
+ set report_name = #{reportName,jdbcType=VARCHAR},
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ deleted = #{deleted,jdbcType=BOOLEAN},
|
|
|
+ create_by = #{createBy,jdbcType=VARCHAR},
|
|
|
+ update_by = #{updateBy,jdbcType=VARCHAR},
|
|
|
+ student_id = #{studentId,jdbcType=BIGINT},
|
|
|
+ student_name = #{studentName,jdbcType=VARCHAR},
|
|
|
+ teacher_name = #{teacherName,jdbcType=VARCHAR},
|
|
|
+ start_node = #{startNode,jdbcType=VARCHAR},
|
|
|
+ end_node = #{endNode,jdbcType=VARCHAR},
|
|
|
+ start_base_data = #{startBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ end_base_data = #{endBaseData,jdbcType=LONGVARCHAR},
|
|
|
+ start_words_data = #{startWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ end_words_data = #{endWordsData,jdbcType=LONGVARCHAR},
|
|
|
+ process_data = #{processData,jdbcType=LONGVARCHAR},
|
|
|
+ vocabulary_change_data = #{vocabularyChangeData,jdbcType=LONGVARCHAR},
|
|
|
+ difficulties_data = #{difficultiesData,jdbcType=LONGVARCHAR},
|
|
|
+ vocabulary_contrast_data = #{vocabularyContrastData,jdbcType=LONGVARCHAR},
|
|
|
+ speed_data = #{speedData,jdbcType=LONGVARCHAR},
|
|
|
+ amount_data = #{amountData,jdbcType=LONGVARCHAR},
|
|
|
+ accuracy_data = #{accuracyData,jdbcType=LONGVARCHAR},
|
|
|
+ scores_data = #{scoresData,jdbcType=LONGVARCHAR},
|
|
|
+ ranking_data = #{rankingData,jdbcType=LONGVARCHAR},
|
|
|
+ business_name = #{businessName,jdbcType=VARCHAR},
|
|
|
+ business_phone = #{businessPhone,jdbcType=VARCHAR},
|
|
|
+ learn_advice = #{learnAdvice,jdbcType=LONGVARCHAR},
|
|
|
+ view_url = #{viewUrl,jdbcType=VARCHAR},
|
|
|
+ class_name = #{className,jdbcType=VARCHAR},
|
|
|
+ student_num = #{studentNum,jdbcType=VARCHAR},
|
|
|
+ student_stage = #{studentStage,jdbcType=INTEGER}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+
|
|
|
+<!--auto generated by MybatisCodeHelper on 2025-08-26-->
|
|
|
+ <select id="selectAllByStudentIdOrderByCreateTimeDescAndIdDesc" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ from student_data_report
|
|
|
+ where student_id=#{studentId,jdbcType=BIGINT} order by create_time desc, id desc
|
|
|
+ </select>
|
|
|
+</mapper>
|