|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
|
This element was generated on Thu Jun 29 18:43:01 CST 2023.
|
|
|
|
|
-->
|
|
|
|
|
<id column="training_id" jdbcType="INTEGER" property="trainingId" />
|
|
|
|
|
<id column="training_id" jdbcType="VARCHAR" property="trainingId" />
|
|
|
|
|
<result column="people_count" jdbcType="INTEGER" property="peopleCount" />
|
|
|
|
|
<result column="start_time" jdbcType="VARCHAR" property="startTime" />
|
|
|
|
|
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
|
|
|
|
@ -116,7 +116,7 @@
|
|
|
|
|
order by ${orderByClause}
|
|
|
|
|
</if>
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
|
<!--
|
|
|
|
|
WARNING - @mbg.generated
|
|
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
|
@ -125,7 +125,7 @@
|
|
|
|
|
select
|
|
|
|
|
<include refid="Base_Column_List" />
|
|
|
|
|
from sys_training
|
|
|
|
|
where training_id = #{trainingId,jdbcType=INTEGER}
|
|
|
|
|
where training_id = #{trainingId,jdbcType=VARCHAR}
|
|
|
|
|
</select>
|
|
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
|
|
<!--
|
|
|
|
@ -158,10 +158,10 @@
|
|
|
|
|
create_school, training_name, creator_name,
|
|
|
|
|
create_time, update_time, school_id
|
|
|
|
|
)
|
|
|
|
|
values (#{trainingId,jdbcType=INTEGER}, #{peopleCount,jdbcType=INTEGER}, #{startTime,jdbcType=VARCHAR},
|
|
|
|
|
values (#{trainingId,jdbcType=VARCHAR}, #{peopleCount,jdbcType=INTEGER}, #{startTime,jdbcType=VARCHAR},
|
|
|
|
|
#{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{creatorId,jdbcType=INTEGER},
|
|
|
|
|
#{createSchool,jdbcType=VARCHAR}, #{trainingName,jdbcType=VARCHAR}, #{creatorName,jdbcType=VARCHAR},
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{schoolId,jdbcType=INTEGER}
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{createSchoolId,jdbcType=INTEGER}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.forex.trading_trading.entity.Training">
|
|
|
|
@ -268,7 +268,7 @@
|
|
|
|
|
update sys_training
|
|
|
|
|
<set>
|
|
|
|
|
<if test="record.trainingId != null">
|
|
|
|
|
training_id = #{record.trainingId,jdbcType=INTEGER},
|
|
|
|
|
training_id = #{record.trainingId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.peopleCount != null">
|
|
|
|
|
people_count = #{record.peopleCount,jdbcType=INTEGER},
|
|
|
|
|