大赛管理功能
This commit is contained in:
parent
e647d54762
commit
6e19d7acb1
@ -5,7 +5,6 @@
|
|||||||
<id column="id" jdbcType="BIGINT" property="id" />
|
<id column="id" jdbcType="BIGINT" property="id" />
|
||||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||||
<result column="desc" jdbcType="VARCHAR" property="desc" />
|
<result column="desc" jdbcType="VARCHAR" property="desc" />
|
||||||
<result column="support_copy" jdbcType="BIT" property="supportCopy" />
|
|
||||||
<result column="season_id" jdbcType="BIGINT" property="seasonId" />
|
<result column="season_id" jdbcType="BIGINT" property="seasonId" />
|
||||||
<result column="creator_id" jdbcType="BIGINT" property="creatorId" />
|
<result column="creator_id" jdbcType="BIGINT" property="creatorId" />
|
||||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
@ -74,8 +73,7 @@
|
|||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, `name`, `desc`, support_copy, season_id, creator_id, create_time, updater_id,
|
id, `name`, `desc`, season_id, creator_id, create_time, updater_id, update_time
|
||||||
update_time
|
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
configs
|
configs
|
||||||
@ -145,14 +143,12 @@
|
|||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="club.joylink.rtss.entity.racetr.RacetrPaper" useGeneratedKeys="true">
|
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="club.joylink.rtss.entity.racetr.RacetrPaper" useGeneratedKeys="true">
|
||||||
insert into racetr_paper (`name`, `desc`, support_copy,
|
insert into racetr_paper (`name`, `desc`, season_id,
|
||||||
season_id, creator_id, create_time,
|
creator_id, create_time, updater_id,
|
||||||
updater_id, update_time, configs
|
update_time, configs)
|
||||||
)
|
values (#{name,jdbcType=VARCHAR}, #{desc,jdbcType=VARCHAR}, #{seasonId,jdbcType=BIGINT},
|
||||||
values (#{name,jdbcType=VARCHAR}, #{desc,jdbcType=VARCHAR}, #{supportCopy,jdbcType=BIT},
|
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updaterId,jdbcType=BIGINT},
|
||||||
#{seasonId,jdbcType=BIGINT}, #{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
|
#{updateTime,jdbcType=TIMESTAMP}, #{configs,jdbcType=LONGVARBINARY})
|
||||||
#{updaterId,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP}, #{configs,jdbcType=LONGVARBINARY}
|
|
||||||
)
|
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="club.joylink.rtss.entity.racetr.RacetrPaper" useGeneratedKeys="true">
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="club.joylink.rtss.entity.racetr.RacetrPaper" useGeneratedKeys="true">
|
||||||
insert into racetr_paper
|
insert into racetr_paper
|
||||||
@ -163,9 +159,6 @@
|
|||||||
<if test="desc != null">
|
<if test="desc != null">
|
||||||
`desc`,
|
`desc`,
|
||||||
</if>
|
</if>
|
||||||
<if test="supportCopy != null">
|
|
||||||
support_copy,
|
|
||||||
</if>
|
|
||||||
<if test="seasonId != null">
|
<if test="seasonId != null">
|
||||||
season_id,
|
season_id,
|
||||||
</if>
|
</if>
|
||||||
@ -192,9 +185,6 @@
|
|||||||
<if test="desc != null">
|
<if test="desc != null">
|
||||||
#{desc,jdbcType=VARCHAR},
|
#{desc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="supportCopy != null">
|
|
||||||
#{supportCopy,jdbcType=BIT},
|
|
||||||
</if>
|
|
||||||
<if test="seasonId != null">
|
<if test="seasonId != null">
|
||||||
#{seasonId,jdbcType=BIGINT},
|
#{seasonId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
@ -233,9 +223,6 @@
|
|||||||
<if test="record.desc != null">
|
<if test="record.desc != null">
|
||||||
`desc` = #{record.desc,jdbcType=VARCHAR},
|
`desc` = #{record.desc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.supportCopy != null">
|
|
||||||
support_copy = #{record.supportCopy,jdbcType=BIT},
|
|
||||||
</if>
|
|
||||||
<if test="record.seasonId != null">
|
<if test="record.seasonId != null">
|
||||||
season_id = #{record.seasonId,jdbcType=BIGINT},
|
season_id = #{record.seasonId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
@ -264,7 +251,6 @@
|
|||||||
set id = #{record.id,jdbcType=BIGINT},
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
`desc` = #{record.desc,jdbcType=VARCHAR},
|
`desc` = #{record.desc,jdbcType=VARCHAR},
|
||||||
support_copy = #{record.supportCopy,jdbcType=BIT},
|
|
||||||
season_id = #{record.seasonId,jdbcType=BIGINT},
|
season_id = #{record.seasonId,jdbcType=BIGINT},
|
||||||
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
@ -280,7 +266,6 @@
|
|||||||
set id = #{record.id,jdbcType=BIGINT},
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
`desc` = #{record.desc,jdbcType=VARCHAR},
|
`desc` = #{record.desc,jdbcType=VARCHAR},
|
||||||
support_copy = #{record.supportCopy,jdbcType=BIT},
|
|
||||||
season_id = #{record.seasonId,jdbcType=BIGINT},
|
season_id = #{record.seasonId,jdbcType=BIGINT},
|
||||||
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
@ -299,9 +284,6 @@
|
|||||||
<if test="desc != null">
|
<if test="desc != null">
|
||||||
`desc` = #{desc,jdbcType=VARCHAR},
|
`desc` = #{desc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="supportCopy != null">
|
|
||||||
support_copy = #{supportCopy,jdbcType=BIT},
|
|
||||||
</if>
|
|
||||||
<if test="seasonId != null">
|
<if test="seasonId != null">
|
||||||
season_id = #{seasonId,jdbcType=BIGINT},
|
season_id = #{seasonId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
@ -327,7 +309,6 @@
|
|||||||
update racetr_paper
|
update racetr_paper
|
||||||
set `name` = #{name,jdbcType=VARCHAR},
|
set `name` = #{name,jdbcType=VARCHAR},
|
||||||
`desc` = #{desc,jdbcType=VARCHAR},
|
`desc` = #{desc,jdbcType=VARCHAR},
|
||||||
support_copy = #{supportCopy,jdbcType=BIT},
|
|
||||||
season_id = #{seasonId,jdbcType=BIGINT},
|
season_id = #{seasonId,jdbcType=BIGINT},
|
||||||
creator_id = #{creatorId,jdbcType=BIGINT},
|
creator_id = #{creatorId,jdbcType=BIGINT},
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
@ -340,7 +321,6 @@
|
|||||||
update racetr_paper
|
update racetr_paper
|
||||||
set `name` = #{name,jdbcType=VARCHAR},
|
set `name` = #{name,jdbcType=VARCHAR},
|
||||||
`desc` = #{desc,jdbcType=VARCHAR},
|
`desc` = #{desc,jdbcType=VARCHAR},
|
||||||
support_copy = #{supportCopy,jdbcType=BIT},
|
|
||||||
season_id = #{seasonId,jdbcType=BIGINT},
|
season_id = #{seasonId,jdbcType=BIGINT},
|
||||||
creator_id = #{creatorId,jdbcType=BIGINT},
|
creator_id = #{creatorId,jdbcType=BIGINT},
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
Loading…
Reference in New Issue
Block a user