实训案例内置写死一些资料,所有学校都可见
parent
d5bcd16d64
commit
fe704bc0e5
@ -1,318 +1,333 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.sztzjy.forex.trading_trading.mappers.TrainingLessonPlanMapper">
|
<mapper namespace="com.sztzjy.forex.trading_trading.mappers.TrainingLessonPlanMapper">
|
||||||
<resultMap id="BaseResultMap" type="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
<resultMap id="BaseResultMap" type="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
||||||
<!--
|
<!--
|
||||||
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 Thu Jul 06 16:31:12 CST 2023.
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
-->
|
-->
|
||||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||||
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
|
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
|
||||||
<result column="school_id" jdbcType="INTEGER" property="schoolId" />
|
<result column="school_id" jdbcType="INTEGER" property="schoolId" />
|
||||||
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
|
<result column="creator_id" jdbcType="INTEGER" property="creatorId" />
|
||||||
<result column="creator_name" jdbcType="VARCHAR" property="creatorName" />
|
<result column="creator_name" jdbcType="VARCHAR" property="creatorName" />
|
||||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
</resultMap>
|
<result column="built_data" jdbcType="INTEGER" property="builtData" />
|
||||||
<sql id="Example_Where_Clause">
|
</resultMap>
|
||||||
<!--
|
<sql id="Example_Where_Clause">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
<where>
|
-->
|
||||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
<where>
|
||||||
<if test="criteria.valid">
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<if test="criteria.valid">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<choose>
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<when test="criterion.noValue">
|
<choose>
|
||||||
and ${criterion.condition}
|
<when test="criterion.noValue">
|
||||||
</when>
|
and ${criterion.condition}
|
||||||
<when test="criterion.singleValue">
|
</when>
|
||||||
and ${criterion.condition} #{criterion.value}
|
<when test="criterion.singleValue">
|
||||||
</when>
|
and ${criterion.condition} #{criterion.value}
|
||||||
<when test="criterion.betweenValue">
|
</when>
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
<when test="criterion.betweenValue">
|
||||||
</when>
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
<when test="criterion.listValue">
|
</when>
|
||||||
and ${criterion.condition}
|
<when test="criterion.listValue">
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
and ${criterion.condition}
|
||||||
#{listItem}
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
</foreach>
|
#{listItem}
|
||||||
</when>
|
</foreach>
|
||||||
</choose>
|
</when>
|
||||||
</foreach>
|
</choose>
|
||||||
</trim>
|
</foreach>
|
||||||
</if>
|
</trim>
|
||||||
</foreach>
|
</if>
|
||||||
</where>
|
</foreach>
|
||||||
</sql>
|
</where>
|
||||||
<sql id="Update_By_Example_Where_Clause">
|
</sql>
|
||||||
<!--
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
<where>
|
-->
|
||||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
<where>
|
||||||
<if test="criteria.valid">
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<if test="criteria.valid">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<choose>
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<when test="criterion.noValue">
|
<choose>
|
||||||
and ${criterion.condition}
|
<when test="criterion.noValue">
|
||||||
</when>
|
and ${criterion.condition}
|
||||||
<when test="criterion.singleValue">
|
</when>
|
||||||
and ${criterion.condition} #{criterion.value}
|
<when test="criterion.singleValue">
|
||||||
</when>
|
and ${criterion.condition} #{criterion.value}
|
||||||
<when test="criterion.betweenValue">
|
</when>
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
<when test="criterion.betweenValue">
|
||||||
</when>
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
<when test="criterion.listValue">
|
</when>
|
||||||
and ${criterion.condition}
|
<when test="criterion.listValue">
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
and ${criterion.condition}
|
||||||
#{listItem}
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
</foreach>
|
#{listItem}
|
||||||
</when>
|
</foreach>
|
||||||
</choose>
|
</when>
|
||||||
</foreach>
|
</choose>
|
||||||
</trim>
|
</foreach>
|
||||||
</if>
|
</trim>
|
||||||
</foreach>
|
</if>
|
||||||
</where>
|
</foreach>
|
||||||
</sql>
|
</where>
|
||||||
<sql id="Base_Column_List">
|
</sql>
|
||||||
<!--
|
<sql id="Base_Column_List">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
id, name, file_path, school_id, creator_id, creator_name, create_time
|
-->
|
||||||
</sql>
|
id, name, file_path, school_id, creator_id, creator_name, create_time, built_data
|
||||||
<select id="selectByExample" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlanExample" resultMap="BaseResultMap">
|
</sql>
|
||||||
<!--
|
<select id="selectByExample" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlanExample" resultMap="BaseResultMap">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
select
|
-->
|
||||||
<if test="distinct">
|
select
|
||||||
distinct
|
<if test="distinct">
|
||||||
</if>
|
distinct
|
||||||
<include refid="Base_Column_List" />
|
</if>
|
||||||
from sys_training_lesson_plan
|
<include refid="Base_Column_List" />
|
||||||
<if test="_parameter != null">
|
from sys_training_lesson_plan
|
||||||
<include refid="Example_Where_Clause" />
|
<if test="_parameter != null">
|
||||||
</if>
|
<include refid="Example_Where_Clause" />
|
||||||
<if test="orderByClause != null">
|
</if>
|
||||||
order by ${orderByClause}
|
<if test="orderByClause != null">
|
||||||
</if>
|
order by ${orderByClause}
|
||||||
</select>
|
</if>
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
</select>
|
||||||
<!--
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
select
|
-->
|
||||||
<include refid="Base_Column_List" />
|
select
|
||||||
from sys_training_lesson_plan
|
<include refid="Base_Column_List" />
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
from sys_training_lesson_plan
|
||||||
</select>
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
</select>
|
||||||
<!--
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
delete from sys_training_lesson_plan
|
-->
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
delete from sys_training_lesson_plan
|
||||||
</delete>
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
<delete id="deleteByExample" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlanExample">
|
</delete>
|
||||||
<!--
|
<delete id="deleteByExample" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlanExample">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
delete from sys_training_lesson_plan
|
-->
|
||||||
<if test="_parameter != null">
|
delete from sys_training_lesson_plan
|
||||||
<include refid="Example_Where_Clause" />
|
<if test="_parameter != null">
|
||||||
</if>
|
<include refid="Example_Where_Clause" />
|
||||||
</delete>
|
</if>
|
||||||
<insert id="insert" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
</delete>
|
||||||
<!--
|
<insert id="insert" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
insert into sys_training_lesson_plan (id, name, file_path,
|
-->
|
||||||
school_id, creator_id, creator_name,
|
insert into sys_training_lesson_plan (id, name, file_path,
|
||||||
create_time)
|
school_id, creator_id, creator_name,
|
||||||
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
|
create_time, built_data)
|
||||||
#{schoolId,jdbcType=INTEGER}, #{creatorId,jdbcType=INTEGER}, #{creatorName,jdbcType=VARCHAR},
|
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
|
||||||
#{createTime,jdbcType=TIMESTAMP})
|
#{schoolId,jdbcType=INTEGER}, #{creatorId,jdbcType=INTEGER}, #{creatorName,jdbcType=VARCHAR},
|
||||||
</insert>
|
#{createTime,jdbcType=TIMESTAMP}, #{builtData,jdbcType=INTEGER})
|
||||||
<insert id="insertSelective" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
</insert>
|
||||||
<!--
|
<insert id="insertSelective" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
||||||
WARNING - @mbg.generated
|
<!--
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
WARNING - @mbg.generated
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
-->
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
insert into sys_training_lesson_plan
|
-->
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
insert into sys_training_lesson_plan
|
||||||
<if test="id != null">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
id,
|
<if test="id != null">
|
||||||
</if>
|
id,
|
||||||
<if test="name != null">
|
</if>
|
||||||
name,
|
<if test="name != null">
|
||||||
</if>
|
name,
|
||||||
<if test="filePath != null">
|
</if>
|
||||||
file_path,
|
<if test="filePath != null">
|
||||||
</if>
|
file_path,
|
||||||
<if test="schoolId != null">
|
</if>
|
||||||
school_id,
|
<if test="schoolId != null">
|
||||||
</if>
|
school_id,
|
||||||
<if test="creatorId != null">
|
</if>
|
||||||
creator_id,
|
<if test="creatorId != null">
|
||||||
</if>
|
creator_id,
|
||||||
<if test="creatorName != null">
|
</if>
|
||||||
creator_name,
|
<if test="creatorName != null">
|
||||||
</if>
|
creator_name,
|
||||||
<if test="createTime != null">
|
</if>
|
||||||
create_time,
|
<if test="createTime != null">
|
||||||
</if>
|
create_time,
|
||||||
</trim>
|
</if>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<if test="builtData != null">
|
||||||
<if test="id != null">
|
built_data,
|
||||||
#{id,jdbcType=VARCHAR},
|
</if>
|
||||||
</if>
|
</trim>
|
||||||
<if test="name != null">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
#{name,jdbcType=VARCHAR},
|
<if test="id != null">
|
||||||
</if>
|
#{id,jdbcType=VARCHAR},
|
||||||
<if test="filePath != null">
|
</if>
|
||||||
#{filePath,jdbcType=VARCHAR},
|
<if test="name != null">
|
||||||
</if>
|
#{name,jdbcType=VARCHAR},
|
||||||
<if test="schoolId != null">
|
</if>
|
||||||
#{schoolId,jdbcType=INTEGER},
|
<if test="filePath != null">
|
||||||
</if>
|
#{filePath,jdbcType=VARCHAR},
|
||||||
<if test="creatorId != null">
|
</if>
|
||||||
#{creatorId,jdbcType=INTEGER},
|
<if test="schoolId != null">
|
||||||
</if>
|
#{schoolId,jdbcType=INTEGER},
|
||||||
<if test="creatorName != null">
|
</if>
|
||||||
#{creatorName,jdbcType=VARCHAR},
|
<if test="creatorId != null">
|
||||||
</if>
|
#{creatorId,jdbcType=INTEGER},
|
||||||
<if test="createTime != null">
|
</if>
|
||||||
#{createTime,jdbcType=TIMESTAMP},
|
<if test="creatorName != null">
|
||||||
</if>
|
#{creatorName,jdbcType=VARCHAR},
|
||||||
</trim>
|
</if>
|
||||||
</insert>
|
<if test="createTime != null">
|
||||||
<select id="countByExample" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlanExample" resultType="java.lang.Long">
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
<!--
|
</if>
|
||||||
WARNING - @mbg.generated
|
<if test="builtData != null">
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
#{builtData,jdbcType=INTEGER},
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
</if>
|
||||||
-->
|
</trim>
|
||||||
select count(*) from sys_training_lesson_plan
|
</insert>
|
||||||
<if test="_parameter != null">
|
<select id="countByExample" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlanExample" resultType="java.lang.Long">
|
||||||
<include refid="Example_Where_Clause" />
|
<!--
|
||||||
</if>
|
WARNING - @mbg.generated
|
||||||
</select>
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
<update id="updateByExampleSelective" parameterType="map">
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
<!--
|
-->
|
||||||
WARNING - @mbg.generated
|
select count(*) from sys_training_lesson_plan
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
<if test="_parameter != null">
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
<include refid="Example_Where_Clause" />
|
||||||
-->
|
</if>
|
||||||
update sys_training_lesson_plan
|
</select>
|
||||||
<set>
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
<if test="record.id != null">
|
<!--
|
||||||
id = #{record.id,jdbcType=VARCHAR},
|
WARNING - @mbg.generated
|
||||||
</if>
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
<if test="record.name != null">
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
name = #{record.name,jdbcType=VARCHAR},
|
-->
|
||||||
</if>
|
update sys_training_lesson_plan
|
||||||
<if test="record.filePath != null">
|
<set>
|
||||||
file_path = #{record.filePath,jdbcType=VARCHAR},
|
<if test="record.id != null">
|
||||||
</if>
|
id = #{record.id,jdbcType=VARCHAR},
|
||||||
<if test="record.schoolId != null">
|
</if>
|
||||||
school_id = #{record.schoolId,jdbcType=INTEGER},
|
<if test="record.name != null">
|
||||||
</if>
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
<if test="record.creatorId != null">
|
</if>
|
||||||
creator_id = #{record.creatorId,jdbcType=INTEGER},
|
<if test="record.filePath != null">
|
||||||
</if>
|
file_path = #{record.filePath,jdbcType=VARCHAR},
|
||||||
<if test="record.creatorName != null">
|
</if>
|
||||||
creator_name = #{record.creatorName,jdbcType=VARCHAR},
|
<if test="record.schoolId != null">
|
||||||
</if>
|
school_id = #{record.schoolId,jdbcType=INTEGER},
|
||||||
<if test="record.createTime != null">
|
</if>
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
<if test="record.creatorId != null">
|
||||||
</if>
|
creator_id = #{record.creatorId,jdbcType=INTEGER},
|
||||||
</set>
|
</if>
|
||||||
<if test="_parameter != null">
|
<if test="record.creatorName != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
creator_name = #{record.creatorName,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
</update>
|
<if test="record.createTime != null">
|
||||||
<update id="updateByExample" parameterType="map">
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
<!--
|
</if>
|
||||||
WARNING - @mbg.generated
|
<if test="record.builtData != null">
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
built_data = #{record.builtData,jdbcType=INTEGER},
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
</if>
|
||||||
-->
|
</set>
|
||||||
update sys_training_lesson_plan
|
<if test="_parameter != null">
|
||||||
set id = #{record.id,jdbcType=VARCHAR},
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
name = #{record.name,jdbcType=VARCHAR},
|
</if>
|
||||||
file_path = #{record.filePath,jdbcType=VARCHAR},
|
</update>
|
||||||
school_id = #{record.schoolId,jdbcType=INTEGER},
|
<update id="updateByExample" parameterType="map">
|
||||||
creator_id = #{record.creatorId,jdbcType=INTEGER},
|
<!--
|
||||||
creator_name = #{record.creatorName,jdbcType=VARCHAR},
|
WARNING - @mbg.generated
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP}
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
<if test="_parameter != null">
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
-->
|
||||||
</if>
|
update sys_training_lesson_plan
|
||||||
</update>
|
set id = #{record.id,jdbcType=VARCHAR},
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
<!--
|
file_path = #{record.filePath,jdbcType=VARCHAR},
|
||||||
WARNING - @mbg.generated
|
school_id = #{record.schoolId,jdbcType=INTEGER},
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
creator_id = #{record.creatorId,jdbcType=INTEGER},
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
creator_name = #{record.creatorName,jdbcType=VARCHAR},
|
||||||
-->
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
update sys_training_lesson_plan
|
built_data = #{record.builtData,jdbcType=INTEGER}
|
||||||
<set>
|
<if test="_parameter != null">
|
||||||
<if test="name != null">
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
name = #{name,jdbcType=VARCHAR},
|
</if>
|
||||||
</if>
|
</update>
|
||||||
<if test="filePath != null">
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
||||||
file_path = #{filePath,jdbcType=VARCHAR},
|
<!--
|
||||||
</if>
|
WARNING - @mbg.generated
|
||||||
<if test="schoolId != null">
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
school_id = #{schoolId,jdbcType=INTEGER},
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
</if>
|
-->
|
||||||
<if test="creatorId != null">
|
update sys_training_lesson_plan
|
||||||
creator_id = #{creatorId,jdbcType=INTEGER},
|
<set>
|
||||||
</if>
|
<if test="name != null">
|
||||||
<if test="creatorName != null">
|
name = #{name,jdbcType=VARCHAR},
|
||||||
creator_name = #{creatorName,jdbcType=VARCHAR},
|
</if>
|
||||||
</if>
|
<if test="filePath != null">
|
||||||
<if test="createTime != null">
|
file_path = #{filePath,jdbcType=VARCHAR},
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
</if>
|
||||||
</if>
|
<if test="schoolId != null">
|
||||||
</set>
|
school_id = #{schoolId,jdbcType=INTEGER},
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
</if>
|
||||||
</update>
|
<if test="creatorId != null">
|
||||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
creator_id = #{creatorId,jdbcType=INTEGER},
|
||||||
<!--
|
</if>
|
||||||
WARNING - @mbg.generated
|
<if test="creatorName != null">
|
||||||
This element is automatically generated by MyBatis Generator, do not modify.
|
creator_name = #{creatorName,jdbcType=VARCHAR},
|
||||||
This element was generated on Thu Jul 06 16:31:12 CST 2023.
|
</if>
|
||||||
-->
|
<if test="createTime != null">
|
||||||
update sys_training_lesson_plan
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
set name = #{name,jdbcType=VARCHAR},
|
</if>
|
||||||
file_path = #{filePath,jdbcType=VARCHAR},
|
<if test="builtData != null">
|
||||||
school_id = #{schoolId,jdbcType=INTEGER},
|
built_data = #{builtData,jdbcType=INTEGER},
|
||||||
creator_id = #{creatorId,jdbcType=INTEGER},
|
</if>
|
||||||
creator_name = #{creatorName,jdbcType=VARCHAR},
|
</set>
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP}
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
where id = #{id,jdbcType=VARCHAR}
|
</update>
|
||||||
</update>
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.forex.trading_trading.entity.TrainingLessonPlan">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu Mar 07 15:03:26 CST 2024.
|
||||||
|
-->
|
||||||
|
update sys_training_lesson_plan
|
||||||
|
set name = #{name,jdbcType=VARCHAR},
|
||||||
|
file_path = #{filePath,jdbcType=VARCHAR},
|
||||||
|
school_id = #{schoolId,jdbcType=INTEGER},
|
||||||
|
creator_id = #{creatorId,jdbcType=INTEGER},
|
||||||
|
creator_name = #{creatorName,jdbcType=VARCHAR},
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
built_data = #{builtData,jdbcType=INTEGER}
|
||||||
|
where id = #{id,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue