【保存实训最后运行状态】
This commit is contained in:
parent
da9355b9a7
commit
11095aa217
@ -3,8 +3,8 @@
|
|||||||
<mapper namespace="club.joylink.rtss.dao.DraftTraining2DAO">
|
<mapper namespace="club.joylink.rtss.dao.DraftTraining2DAO">
|
||||||
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.training2.DraftTraining2">
|
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.training2.DraftTraining2">
|
||||||
<id column="id" jdbcType="BIGINT" property="id"/>
|
<id column="id" jdbcType="BIGINT" property="id"/>
|
||||||
<result column="map_id" jdbcType="BIGINT" property="mapId"/>
|
|
||||||
<result column="name" jdbcType="VARCHAR" property="name"/>
|
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||||||
|
<result column="map_id" jdbcType="BIGINT" property="mapId"/>
|
||||||
<result column="description" jdbcType="VARCHAR" property="description"/>
|
<result column="description" jdbcType="VARCHAR" property="description"/>
|
||||||
<result column="type" jdbcType="VARCHAR" property="type"/>
|
<result column="type" jdbcType="VARCHAR" property="type"/>
|
||||||
<result column="label_json" jdbcType="VARCHAR" property="labelJson"/>
|
<result column="label_json" jdbcType="VARCHAR" property="labelJson"/>
|
||||||
@ -18,6 +18,7 @@
|
|||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs"
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs"
|
||||||
type="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
type="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
||||||
<result column="bg_scene_json" jdbcType="LONGVARCHAR" property="bgSceneJson"/>
|
<result column="bg_scene_json" jdbcType="LONGVARCHAR" property="bgSceneJson"/>
|
||||||
|
<result column="final_scenes_json" jdbcType="LONGVARCHAR" property="finalScenesJson"/>
|
||||||
<result column="opera_json" jdbcType="LONGVARCHAR" property="operaJson"/>
|
<result column="opera_json" jdbcType="LONGVARCHAR" property="operaJson"/>
|
||||||
<result column="step_json" jdbcType="LONGVARCHAR" property="stepJson"/>
|
<result column="step_json" jdbcType="LONGVARCHAR" property="stepJson"/>
|
||||||
<result column="scoring_rule_json" jdbcType="LONGVARCHAR" property="scoringRuleJson"/>
|
<result column="scoring_rule_json" jdbcType="LONGVARCHAR" property="scoringRuleJson"/>
|
||||||
@ -85,11 +86,12 @@
|
|||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, map_id, `name`, description, `type`, label_json, map_location_json, run_plan_id,
|
id, `name`, map_id, description, `type`, label_json, map_location_json, run_plan_id,
|
||||||
failure_condition_json, creator_id, create_time, update_time
|
failure_condition_json, creator_id, create_time, update_time
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="Blob_Column_List">
|
<sql id="Blob_Column_List">
|
||||||
bg_scene_json, opera_json, step_json, scoring_rule_json, member_json, player_id_json
|
bg_scene_json, final_scenes_json, opera_json, step_json, scoring_rule_json, member_json,
|
||||||
|
player_id_json
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByExampleWithBLOBs" parameterType="club.joylink.rtss.entity.training2.DraftTraining2Example"
|
<select id="selectByExampleWithBLOBs" parameterType="club.joylink.rtss.entity.training2.DraftTraining2Example"
|
||||||
resultMap="ResultMapWithBLOBs">
|
resultMap="ResultMapWithBLOBs">
|
||||||
@ -158,21 +160,20 @@
|
|||||||
</if>
|
</if>
|
||||||
</delete>
|
</delete>
|
||||||
<insert id="insert" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
<insert id="insert" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
||||||
insert into draft_training2 (id, map_id, `name`,
|
insert into draft_training2 (id, `name`, map_id,
|
||||||
description, `type`, label_json,
|
description, `type`, label_json,
|
||||||
map_location_json, run_plan_id, failure_condition_json,
|
map_location_json, run_plan_id, failure_condition_json,
|
||||||
creator_id, create_time, update_time,
|
creator_id, create_time, update_time,
|
||||||
bg_scene_json, opera_json, step_json,
|
bg_scene_json, final_scenes_json, opera_json,
|
||||||
scoring_rule_json, member_json, player_id_json
|
step_json, scoring_rule_json, member_json,
|
||||||
)
|
player_id_json)
|
||||||
values (#{id,jdbcType=BIGINT}, #{mapId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mapId,jdbcType=BIGINT},
|
||||||
#{description,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{labelJson,jdbcType=VARCHAR},
|
#{description,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{labelJson,jdbcType=VARCHAR},
|
||||||
#{mapLocationJson,jdbcType=VARCHAR}, #{runPlanId,jdbcType=BIGINT}, #{failureConditionJson,jdbcType=VARCHAR},
|
#{mapLocationJson,jdbcType=VARCHAR}, #{runPlanId,jdbcType=BIGINT}, #{failureConditionJson,jdbcType=VARCHAR},
|
||||||
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||||
#{bgSceneJson,jdbcType=LONGVARCHAR}, #{operaJson,jdbcType=LONGVARCHAR}, #{stepJson,jdbcType=LONGVARCHAR},
|
#{bgSceneJson,jdbcType=LONGVARCHAR}, #{finalScenesJson,jdbcType=LONGVARCHAR}, #{operaJson,jdbcType=LONGVARCHAR},
|
||||||
#{scoringRuleJson,jdbcType=LONGVARCHAR}, #{memberJson,jdbcType=LONGVARCHAR},
|
#{stepJson,jdbcType=LONGVARCHAR}, #{scoringRuleJson,jdbcType=LONGVARCHAR}, #{memberJson,jdbcType=LONGVARCHAR},
|
||||||
#{playerIdJson,jdbcType=LONGVARCHAR}
|
#{playerIdJson,jdbcType=LONGVARCHAR})
|
||||||
)
|
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
<insert id="insertSelective" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
||||||
insert into draft_training2
|
insert into draft_training2
|
||||||
@ -180,12 +181,12 @@
|
|||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
id,
|
id,
|
||||||
</if>
|
</if>
|
||||||
<if test="mapId != null">
|
|
||||||
map_id,
|
|
||||||
</if>
|
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
`name`,
|
`name`,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="mapId != null">
|
||||||
|
map_id,
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
description,
|
description,
|
||||||
</if>
|
</if>
|
||||||
@ -216,6 +217,9 @@
|
|||||||
<if test="bgSceneJson != null">
|
<if test="bgSceneJson != null">
|
||||||
bg_scene_json,
|
bg_scene_json,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="finalScenesJson != null">
|
||||||
|
final_scenes_json,
|
||||||
|
</if>
|
||||||
<if test="operaJson != null">
|
<if test="operaJson != null">
|
||||||
opera_json,
|
opera_json,
|
||||||
</if>
|
</if>
|
||||||
@ -236,12 +240,12 @@
|
|||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
#{id,jdbcType=BIGINT},
|
#{id,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="mapId != null">
|
|
||||||
#{mapId,jdbcType=BIGINT},
|
|
||||||
</if>
|
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
#{name,jdbcType=VARCHAR},
|
#{name,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="mapId != null">
|
||||||
|
#{mapId,jdbcType=BIGINT},
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
#{description,jdbcType=VARCHAR},
|
#{description,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@ -272,6 +276,9 @@
|
|||||||
<if test="bgSceneJson != null">
|
<if test="bgSceneJson != null">
|
||||||
#{bgSceneJson,jdbcType=LONGVARCHAR},
|
#{bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="finalScenesJson != null">
|
||||||
|
#{finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
<if test="operaJson != null">
|
<if test="operaJson != null">
|
||||||
#{operaJson,jdbcType=LONGVARCHAR},
|
#{operaJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@ -302,12 +309,12 @@
|
|||||||
<if test="record.id != null">
|
<if test="record.id != null">
|
||||||
id = #{record.id,jdbcType=BIGINT},
|
id = #{record.id,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="record.mapId != null">
|
|
||||||
map_id = #{record.mapId,jdbcType=BIGINT},
|
|
||||||
</if>
|
|
||||||
<if test="record.name != null">
|
<if test="record.name != null">
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.mapId != null">
|
||||||
|
map_id = #{record.mapId,jdbcType=BIGINT},
|
||||||
|
</if>
|
||||||
<if test="record.description != null">
|
<if test="record.description != null">
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@ -338,6 +345,9 @@
|
|||||||
<if test="record.bgSceneJson != null">
|
<if test="record.bgSceneJson != null">
|
||||||
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="record.finalScenesJson != null">
|
||||||
|
final_scenes_json = #{record.finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
<if test="record.operaJson != null">
|
<if test="record.operaJson != null">
|
||||||
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@ -361,8 +371,8 @@
|
|||||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||||
update draft_training2
|
update draft_training2
|
||||||
set id = #{record.id,jdbcType=BIGINT},
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
map_id = #{record.mapId,jdbcType=BIGINT},
|
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
|
map_id = #{record.mapId,jdbcType=BIGINT},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
`type` = #{record.type,jdbcType=VARCHAR},
|
`type` = #{record.type,jdbcType=VARCHAR},
|
||||||
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
||||||
@ -373,6 +383,7 @@
|
|||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
|
final_scenes_json = #{record.finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
||||||
step_json = #{record.stepJson,jdbcType=LONGVARCHAR},
|
step_json = #{record.stepJson,jdbcType=LONGVARCHAR},
|
||||||
scoring_rule_json = #{record.scoringRuleJson,jdbcType=LONGVARCHAR},
|
scoring_rule_json = #{record.scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
@ -385,8 +396,8 @@
|
|||||||
<update id="updateByExample" parameterType="map">
|
<update id="updateByExample" parameterType="map">
|
||||||
update draft_training2
|
update draft_training2
|
||||||
set id = #{record.id,jdbcType=BIGINT},
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
map_id = #{record.mapId,jdbcType=BIGINT},
|
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
|
map_id = #{record.mapId,jdbcType=BIGINT},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
`type` = #{record.type,jdbcType=VARCHAR},
|
`type` = #{record.type,jdbcType=VARCHAR},
|
||||||
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
||||||
@ -403,12 +414,12 @@
|
|||||||
<update id="updateByPrimaryKeySelective" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
<update id="updateByPrimaryKeySelective" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
||||||
update draft_training2
|
update draft_training2
|
||||||
<set>
|
<set>
|
||||||
<if test="mapId != null">
|
|
||||||
map_id = #{mapId,jdbcType=BIGINT},
|
|
||||||
</if>
|
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
`name` = #{name,jdbcType=VARCHAR},
|
`name` = #{name,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="mapId != null">
|
||||||
|
map_id = #{mapId,jdbcType=BIGINT},
|
||||||
|
</if>
|
||||||
<if test="description != null">
|
<if test="description != null">
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@ -439,6 +450,9 @@
|
|||||||
<if test="bgSceneJson != null">
|
<if test="bgSceneJson != null">
|
||||||
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="finalScenesJson != null">
|
||||||
|
final_scenes_json = #{finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
<if test="operaJson != null">
|
<if test="operaJson != null">
|
||||||
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@ -459,8 +473,8 @@
|
|||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="club.joylink.rtss.entity.training2.DraftTraining2WithBLOBs">
|
||||||
update draft_training2
|
update draft_training2
|
||||||
set map_id = #{mapId,jdbcType=BIGINT},
|
set `name` = #{name,jdbcType=VARCHAR},
|
||||||
`name` = #{name,jdbcType=VARCHAR},
|
map_id = #{mapId,jdbcType=BIGINT},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
`type` = #{type,jdbcType=VARCHAR},
|
`type` = #{type,jdbcType=VARCHAR},
|
||||||
label_json = #{labelJson,jdbcType=VARCHAR},
|
label_json = #{labelJson,jdbcType=VARCHAR},
|
||||||
@ -471,6 +485,7 @@
|
|||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
|
final_scenes_json = #{finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
||||||
step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
||||||
scoring_rule_json = #{scoringRuleJson,jdbcType=LONGVARCHAR},
|
scoring_rule_json = #{scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
@ -480,8 +495,8 @@
|
|||||||
</update>
|
</update>
|
||||||
<update id="updateByPrimaryKey" parameterType="club.joylink.rtss.entity.training2.DraftTraining2">
|
<update id="updateByPrimaryKey" parameterType="club.joylink.rtss.entity.training2.DraftTraining2">
|
||||||
update draft_training2
|
update draft_training2
|
||||||
set map_id = #{mapId,jdbcType=BIGINT},
|
set `name` = #{name,jdbcType=VARCHAR},
|
||||||
`name` = #{name,jdbcType=VARCHAR},
|
map_id = #{mapId,jdbcType=BIGINT},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
`type` = #{type,jdbcType=VARCHAR},
|
`type` = #{type,jdbcType=VARCHAR},
|
||||||
label_json = #{labelJson,jdbcType=VARCHAR},
|
label_json = #{labelJson,jdbcType=VARCHAR},
|
||||||
@ -493,11 +508,4 @@
|
|||||||
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="updateStepJson" parameterType="map">
|
|
||||||
update draft_training2
|
|
||||||
set step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
|
||||||
player_id_json = #{playerIdJson,jdbcType=LONGVARCHAR}
|
|
||||||
where id = #{id,jdbcType=BIGINT}
|
|
||||||
</update>
|
|
||||||
</mapper>
|
</mapper>
|
@ -1,506 +1,530 @@
|
|||||||
<?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="club.joylink.rtss.dao.PublishedTraining2DAO">
|
<mapper namespace="club.joylink.rtss.dao.PublishedTraining2DAO">
|
||||||
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.training2.PublishedTraining2">
|
<resultMap id="BaseResultMap" type="club.joylink.rtss.entity.training2.PublishedTraining2">
|
||||||
<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="map_id" jdbcType="BIGINT" property="mapId" />
|
<result column="map_id" jdbcType="BIGINT" property="mapId"/>
|
||||||
<result column="description" jdbcType="VARCHAR" property="description" />
|
<result column="description" jdbcType="VARCHAR" property="description"/>
|
||||||
<result column="type" jdbcType="VARCHAR" property="type" />
|
<result column="type" jdbcType="VARCHAR" property="type"/>
|
||||||
<result column="label_json" jdbcType="VARCHAR" property="labelJson" />
|
<result column="label_json" jdbcType="VARCHAR" property="labelJson"/>
|
||||||
<result column="map_location_json" jdbcType="VARCHAR" property="mapLocationJson" />
|
<result column="map_location_json" jdbcType="VARCHAR" property="mapLocationJson"/>
|
||||||
<result column="run_plan_id" jdbcType="BIGINT" property="runPlanId" />
|
<result column="run_plan_id" jdbcType="BIGINT" property="runPlanId"/>
|
||||||
<result column="failure_condition_json" jdbcType="VARCHAR" property="failureConditionJson" />
|
<result column="failure_condition_json" jdbcType="VARCHAR" property="failureConditionJson"/>
|
||||||
<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"/>
|
||||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
||||||
<result column="state" jdbcType="INTEGER" property="state" />
|
<result column="state" jdbcType="INTEGER" property="state"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs"
|
||||||
<result column="bg_scene_json" jdbcType="LONGVARCHAR" property="bgSceneJson" />
|
type="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
||||||
<result column="opera_json" jdbcType="LONGVARCHAR" property="operaJson" />
|
<result column="bg_scene_json" jdbcType="LONGVARCHAR" property="bgSceneJson"/>
|
||||||
<result column="step_json" jdbcType="LONGVARCHAR" property="stepJson" />
|
<result column="opera_json" jdbcType="LONGVARCHAR" property="operaJson"/>
|
||||||
<result column="scoring_rule_json" jdbcType="LONGVARCHAR" property="scoringRuleJson" />
|
<result column="step_json" jdbcType="LONGVARCHAR" property="stepJson"/>
|
||||||
<result column="member_json" jdbcType="LONGVARCHAR" property="memberJson" />
|
<result column="scoring_rule_json" jdbcType="LONGVARCHAR" property="scoringRuleJson"/>
|
||||||
<result column="player_id_json" jdbcType="LONGVARCHAR" property="playerIdJson" />
|
<result column="member_json" jdbcType="LONGVARCHAR" property="memberJson"/>
|
||||||
</resultMap>
|
<result column="player_id_json" jdbcType="LONGVARCHAR" property="playerIdJson"/>
|
||||||
<sql id="Example_Where_Clause">
|
<result column="final_scenes_json" jdbcType="LONGVARCHAR" property="finalScenesJson"/>
|
||||||
<where>
|
</resultMap>
|
||||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
<sql id="Example_Where_Clause">
|
||||||
<if test="criteria.valid">
|
<where>
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
<if test="criteria.valid">
|
||||||
<choose>
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<when test="criterion.noValue">
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
and ${criterion.condition}
|
<choose>
|
||||||
</when>
|
<when test="criterion.noValue">
|
||||||
<when test="criterion.singleValue">
|
and ${criterion.condition}
|
||||||
and ${criterion.condition} #{criterion.value}
|
</when>
|
||||||
</when>
|
<when test="criterion.singleValue">
|
||||||
<when test="criterion.betweenValue">
|
and ${criterion.condition} #{criterion.value}
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
</when>
|
||||||
</when>
|
<when test="criterion.betweenValue">
|
||||||
<when test="criterion.listValue">
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
and ${criterion.condition}
|
</when>
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
<when test="criterion.listValue">
|
||||||
#{listItem}
|
and ${criterion.condition}
|
||||||
</foreach>
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
||||||
</when>
|
separator=",">
|
||||||
</choose>
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</where>
|
||||||
</if>
|
</sql>
|
||||||
</foreach>
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
</where>
|
<where>
|
||||||
</sql>
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
<sql id="Update_By_Example_Where_Clause">
|
<if test="criteria.valid">
|
||||||
<where>
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
<if test="criteria.valid">
|
<choose>
|
||||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
<when test="criterion.noValue">
|
||||||
<foreach collection="criteria.criteria" item="criterion">
|
and ${criterion.condition}
|
||||||
<choose>
|
</when>
|
||||||
<when test="criterion.noValue">
|
<when test="criterion.singleValue">
|
||||||
and ${criterion.condition}
|
and ${criterion.condition} #{criterion.value}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.singleValue">
|
<when test="criterion.betweenValue">
|
||||||
and ${criterion.condition} #{criterion.value}
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
</when>
|
</when>
|
||||||
<when test="criterion.betweenValue">
|
<when test="criterion.listValue">
|
||||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
and ${criterion.condition}
|
||||||
</when>
|
<foreach close=")" collection="criterion.value" item="listItem" open="("
|
||||||
<when test="criterion.listValue">
|
separator=",">
|
||||||
and ${criterion.condition}
|
#{listItem}
|
||||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
</foreach>
|
||||||
#{listItem}
|
</when>
|
||||||
</foreach>
|
</choose>
|
||||||
</when>
|
</foreach>
|
||||||
</choose>
|
</trim>
|
||||||
|
</if>
|
||||||
</foreach>
|
</foreach>
|
||||||
</trim>
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id, `name`, map_id, description, `type`, label_json, map_location_json, run_plan_id,
|
||||||
|
failure_condition_json, creator_id, create_time, update_time, `state`
|
||||||
|
</sql>
|
||||||
|
<sql id="Blob_Column_List">
|
||||||
|
bg_scene_json, opera_json, step_json, scoring_rule_json, member_json, player_id_json,
|
||||||
|
final_scenes_json
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExampleWithBLOBs" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example"
|
||||||
|
resultMap="ResultMapWithBLOBs">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
</if>
|
</if>
|
||||||
</foreach>
|
<include refid="Base_Column_List"/>
|
||||||
</where>
|
,
|
||||||
</sql>
|
<include refid="Blob_Column_List"/>
|
||||||
<sql id="Base_Column_List">
|
from published_training2
|
||||||
id, `name`, map_id, description, `type`, label_json, map_location_json, run_plan_id,
|
<if test="_parameter != null">
|
||||||
failure_condition_json, creator_id, create_time, update_time, `state`
|
<include refid="Example_Where_Clause"/>
|
||||||
</sql>
|
</if>
|
||||||
<sql id="Blob_Column_List">
|
<if test="orderByClause != null">
|
||||||
bg_scene_json, opera_json, step_json, scoring_rule_json, member_json, player_id_json
|
order by ${orderByClause}
|
||||||
</sql>
|
</if>
|
||||||
<select id="selectByExampleWithBLOBs" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example" resultMap="ResultMapWithBLOBs">
|
<if test="limit != null">
|
||||||
select
|
<if test="offset != null">
|
||||||
<if test="distinct">
|
limit ${offset}, ${limit}
|
||||||
distinct
|
</if>
|
||||||
</if>
|
<if test="offset == null">
|
||||||
<include refid="Base_Column_List" />
|
limit ${limit}
|
||||||
,
|
</if>
|
||||||
<include refid="Blob_Column_List" />
|
</if>
|
||||||
from published_training2
|
</select>
|
||||||
<if test="_parameter != null">
|
<select id="selectByExample" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example"
|
||||||
<include refid="Example_Where_Clause" />
|
resultMap="BaseResultMap">
|
||||||
</if>
|
select
|
||||||
<if test="orderByClause != null">
|
<if test="distinct">
|
||||||
order by ${orderByClause}
|
distinct
|
||||||
</if>
|
</if>
|
||||||
<if test="limit != null">
|
<include refid="Base_Column_List"/>
|
||||||
<if test="offset != null">
|
from published_training2
|
||||||
limit ${offset}, ${limit}
|
<if test="_parameter != null">
|
||||||
</if>
|
<include refid="Example_Where_Clause"/>
|
||||||
<if test="offset == null">
|
</if>
|
||||||
limit ${limit}
|
<if test="orderByClause != null">
|
||||||
</if>
|
order by ${orderByClause}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
<if test="limit != null">
|
||||||
<select id="selectByExample" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example" resultMap="BaseResultMap">
|
<if test="offset != null">
|
||||||
select
|
limit ${offset}, ${limit}
|
||||||
<if test="distinct">
|
</if>
|
||||||
distinct
|
<if test="offset == null">
|
||||||
</if>
|
limit ${limit}
|
||||||
<include refid="Base_Column_List" />
|
</if>
|
||||||
from published_training2
|
</if>
|
||||||
<if test="_parameter != null">
|
</select>
|
||||||
<include refid="Example_Where_Clause" />
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
||||||
</if>
|
select
|
||||||
<if test="orderByClause != null">
|
<include refid="Base_Column_List"/>
|
||||||
order by ${orderByClause}
|
,
|
||||||
</if>
|
<include refid="Blob_Column_List"/>
|
||||||
<if test="limit != null">
|
from published_training2
|
||||||
<if test="offset != null">
|
where id = #{id,jdbcType=BIGINT}
|
||||||
limit ${offset}, ${limit}
|
</select>
|
||||||
</if>
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
||||||
<if test="offset == null">
|
delete from published_training2
|
||||||
limit ${limit}
|
where id = #{id,jdbcType=BIGINT}
|
||||||
</if>
|
</delete>
|
||||||
</if>
|
<delete id="deleteByExample" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example">
|
||||||
</select>
|
delete from published_training2
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
<if test="_parameter != null">
|
||||||
select
|
<include refid="Example_Where_Clause"/>
|
||||||
<include refid="Base_Column_List" />
|
</if>
|
||||||
,
|
</delete>
|
||||||
<include refid="Blob_Column_List" />
|
<insert id="insert" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
||||||
from published_training2
|
insert into published_training2 (id, `name`, map_id,
|
||||||
where id = #{id,jdbcType=BIGINT}
|
description, `type`, label_json,
|
||||||
</select>
|
map_location_json, run_plan_id, failure_condition_json,
|
||||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
creator_id, create_time, update_time,
|
||||||
delete from published_training2
|
`state`, bg_scene_json, opera_json,
|
||||||
where id = #{id,jdbcType=BIGINT}
|
step_json, scoring_rule_json, member_json,
|
||||||
</delete>
|
player_id_json, final_scenes_json)
|
||||||
<delete id="deleteByExample" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example">
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mapId,jdbcType=BIGINT},
|
||||||
delete from published_training2
|
#{description,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{labelJson,jdbcType=VARCHAR},
|
||||||
<if test="_parameter != null">
|
#{mapLocationJson,jdbcType=VARCHAR}, #{runPlanId,jdbcType=BIGINT}, #{failureConditionJson,jdbcType=VARCHAR},
|
||||||
<include refid="Example_Where_Clause" />
|
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
#{state,jdbcType=INTEGER}, #{bgSceneJson,jdbcType=LONGVARCHAR}, #{operaJson,jdbcType=LONGVARCHAR},
|
||||||
</delete>
|
#{stepJson,jdbcType=LONGVARCHAR}, #{scoringRuleJson,jdbcType=LONGVARCHAR}, #{memberJson,jdbcType=LONGVARCHAR},
|
||||||
<insert id="insert" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
#{playerIdJson,jdbcType=LONGVARCHAR}, #{finalScenesJson,jdbcType=LONGVARCHAR})
|
||||||
insert into published_training2 (id, `name`, map_id,
|
</insert>
|
||||||
description, `type`, label_json,
|
<insert id="insertSelective" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
||||||
map_location_json, run_plan_id, failure_condition_json,
|
insert into published_training2
|
||||||
creator_id, create_time, update_time,
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
`state`, bg_scene_json, opera_json,
|
<if test="id != null">
|
||||||
step_json, scoring_rule_json, member_json,
|
id,
|
||||||
player_id_json)
|
</if>
|
||||||
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{mapId,jdbcType=BIGINT},
|
<if test="name != null">
|
||||||
#{description,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{labelJson,jdbcType=VARCHAR},
|
`name`,
|
||||||
#{mapLocationJson,jdbcType=VARCHAR}, #{runPlanId,jdbcType=BIGINT}, #{failureConditionJson,jdbcType=VARCHAR},
|
</if>
|
||||||
#{creatorId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
<if test="mapId != null">
|
||||||
#{state,jdbcType=INTEGER}, #{bgSceneJson,jdbcType=LONGVARCHAR}, #{operaJson,jdbcType=LONGVARCHAR},
|
map_id,
|
||||||
#{stepJson,jdbcType=LONGVARCHAR}, #{scoringRuleJson,jdbcType=LONGVARCHAR}, #{memberJson,jdbcType=LONGVARCHAR},
|
</if>
|
||||||
#{playerIdJson,jdbcType=LONGVARCHAR})
|
<if test="description != null">
|
||||||
</insert>
|
description,
|
||||||
<insert id="insertSelective" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
</if>
|
||||||
insert into published_training2
|
<if test="type != null">
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
`type`,
|
||||||
<if test="id != null">
|
</if>
|
||||||
id,
|
<if test="labelJson != null">
|
||||||
</if>
|
label_json,
|
||||||
<if test="name != null">
|
</if>
|
||||||
`name`,
|
<if test="mapLocationJson != null">
|
||||||
</if>
|
map_location_json,
|
||||||
<if test="mapId != null">
|
</if>
|
||||||
map_id,
|
<if test="runPlanId != null">
|
||||||
</if>
|
run_plan_id,
|
||||||
<if test="description != null">
|
</if>
|
||||||
description,
|
<if test="failureConditionJson != null">
|
||||||
</if>
|
failure_condition_json,
|
||||||
<if test="type != null">
|
</if>
|
||||||
`type`,
|
<if test="creatorId != null">
|
||||||
</if>
|
creator_id,
|
||||||
<if test="labelJson != null">
|
</if>
|
||||||
label_json,
|
<if test="createTime != null">
|
||||||
</if>
|
create_time,
|
||||||
<if test="mapLocationJson != null">
|
</if>
|
||||||
map_location_json,
|
<if test="updateTime != null">
|
||||||
</if>
|
update_time,
|
||||||
<if test="runPlanId != null">
|
</if>
|
||||||
run_plan_id,
|
<if test="state != null">
|
||||||
</if>
|
`state`,
|
||||||
<if test="failureConditionJson != null">
|
</if>
|
||||||
failure_condition_json,
|
<if test="bgSceneJson != null">
|
||||||
</if>
|
bg_scene_json,
|
||||||
<if test="creatorId != null">
|
</if>
|
||||||
creator_id,
|
<if test="operaJson != null">
|
||||||
</if>
|
opera_json,
|
||||||
<if test="createTime != null">
|
</if>
|
||||||
create_time,
|
<if test="stepJson != null">
|
||||||
</if>
|
step_json,
|
||||||
<if test="updateTime != null">
|
</if>
|
||||||
update_time,
|
<if test="scoringRuleJson != null">
|
||||||
</if>
|
scoring_rule_json,
|
||||||
<if test="state != null">
|
</if>
|
||||||
`state`,
|
<if test="memberJson != null">
|
||||||
</if>
|
member_json,
|
||||||
<if test="bgSceneJson != null">
|
</if>
|
||||||
bg_scene_json,
|
<if test="playerIdJson != null">
|
||||||
</if>
|
player_id_json,
|
||||||
<if test="operaJson != null">
|
</if>
|
||||||
opera_json,
|
<if test="finalScenesJson != null">
|
||||||
</if>
|
final_scenes_json,
|
||||||
<if test="stepJson != null">
|
</if>
|
||||||
step_json,
|
</trim>
|
||||||
</if>
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="scoringRuleJson != null">
|
<if test="id != null">
|
||||||
scoring_rule_json,
|
#{id,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
<if test="memberJson != null">
|
<if test="name != null">
|
||||||
member_json,
|
#{name,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
<if test="playerIdJson != null">
|
<if test="mapId != null">
|
||||||
player_id_json,
|
#{mapId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
<if test="description != null">
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
#{description,jdbcType=VARCHAR},
|
||||||
<if test="id != null">
|
</if>
|
||||||
#{id,jdbcType=BIGINT},
|
<if test="type != null">
|
||||||
</if>
|
#{type,jdbcType=VARCHAR},
|
||||||
<if test="name != null">
|
</if>
|
||||||
#{name,jdbcType=VARCHAR},
|
<if test="labelJson != null">
|
||||||
</if>
|
#{labelJson,jdbcType=VARCHAR},
|
||||||
<if test="mapId != null">
|
</if>
|
||||||
#{mapId,jdbcType=BIGINT},
|
<if test="mapLocationJson != null">
|
||||||
</if>
|
#{mapLocationJson,jdbcType=VARCHAR},
|
||||||
<if test="description != null">
|
</if>
|
||||||
#{description,jdbcType=VARCHAR},
|
<if test="runPlanId != null">
|
||||||
</if>
|
#{runPlanId,jdbcType=BIGINT},
|
||||||
<if test="type != null">
|
</if>
|
||||||
#{type,jdbcType=VARCHAR},
|
<if test="failureConditionJson != null">
|
||||||
</if>
|
#{failureConditionJson,jdbcType=VARCHAR},
|
||||||
<if test="labelJson != null">
|
</if>
|
||||||
#{labelJson,jdbcType=VARCHAR},
|
<if test="creatorId != null">
|
||||||
</if>
|
#{creatorId,jdbcType=BIGINT},
|
||||||
<if test="mapLocationJson != null">
|
</if>
|
||||||
#{mapLocationJson,jdbcType=VARCHAR},
|
<if test="createTime != null">
|
||||||
</if>
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
<if test="runPlanId != null">
|
</if>
|
||||||
#{runPlanId,jdbcType=BIGINT},
|
<if test="updateTime != null">
|
||||||
</if>
|
#{updateTime,jdbcType=TIMESTAMP},
|
||||||
<if test="failureConditionJson != null">
|
</if>
|
||||||
#{failureConditionJson,jdbcType=VARCHAR},
|
<if test="state != null">
|
||||||
</if>
|
#{state,jdbcType=INTEGER},
|
||||||
<if test="creatorId != null">
|
</if>
|
||||||
#{creatorId,jdbcType=BIGINT},
|
<if test="bgSceneJson != null">
|
||||||
</if>
|
#{bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="createTime != null">
|
</if>
|
||||||
#{createTime,jdbcType=TIMESTAMP},
|
<if test="operaJson != null">
|
||||||
</if>
|
#{operaJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="updateTime != null">
|
</if>
|
||||||
#{updateTime,jdbcType=TIMESTAMP},
|
<if test="stepJson != null">
|
||||||
</if>
|
#{stepJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="state != null">
|
</if>
|
||||||
#{state,jdbcType=INTEGER},
|
<if test="scoringRuleJson != null">
|
||||||
</if>
|
#{scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="bgSceneJson != null">
|
</if>
|
||||||
#{bgSceneJson,jdbcType=LONGVARCHAR},
|
<if test="memberJson != null">
|
||||||
</if>
|
#{memberJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="operaJson != null">
|
</if>
|
||||||
#{operaJson,jdbcType=LONGVARCHAR},
|
<if test="playerIdJson != null">
|
||||||
</if>
|
#{playerIdJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="stepJson != null">
|
</if>
|
||||||
#{stepJson,jdbcType=LONGVARCHAR},
|
<if test="finalScenesJson != null">
|
||||||
</if>
|
#{finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
<if test="scoringRuleJson != null">
|
</if>
|
||||||
#{scoringRuleJson,jdbcType=LONGVARCHAR},
|
</trim>
|
||||||
</if>
|
</insert>
|
||||||
<if test="memberJson != null">
|
<select id="countByExample" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example"
|
||||||
#{memberJson,jdbcType=LONGVARCHAR},
|
resultType="java.lang.Long">
|
||||||
</if>
|
select count(*) from published_training2
|
||||||
<if test="playerIdJson != null">
|
<if test="_parameter != null">
|
||||||
#{playerIdJson,jdbcType=LONGVARCHAR},
|
<include refid="Example_Where_Clause"/>
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</select>
|
||||||
</insert>
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
<select id="countByExample" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2Example" resultType="java.lang.Long">
|
update published_training2
|
||||||
select count(*) from published_training2
|
<set>
|
||||||
<if test="_parameter != null">
|
<if test="record.id != null">
|
||||||
<include refid="Example_Where_Clause" />
|
id = #{record.id,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
</select>
|
<if test="record.name != null">
|
||||||
<update id="updateByExampleSelective" parameterType="map">
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
update published_training2
|
</if>
|
||||||
<set>
|
<if test="record.mapId != null">
|
||||||
<if test="record.id != null">
|
map_id = #{record.mapId,jdbcType=BIGINT},
|
||||||
id = #{record.id,jdbcType=BIGINT},
|
</if>
|
||||||
</if>
|
<if test="record.description != null">
|
||||||
<if test="record.name != null">
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.type != null">
|
||||||
|
`type` = #{record.type,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.labelJson != null">
|
||||||
|
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.mapLocationJson != null">
|
||||||
|
map_location_json = #{record.mapLocationJson,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.runPlanId != null">
|
||||||
|
run_plan_id = #{record.runPlanId,jdbcType=BIGINT},
|
||||||
|
</if>
|
||||||
|
<if test="record.failureConditionJson != null">
|
||||||
|
failure_condition_json = #{record.failureConditionJson,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.creatorId != null">
|
||||||
|
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
||||||
|
</if>
|
||||||
|
<if test="record.createTime != null">
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.updateTime != null">
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.state != null">
|
||||||
|
`state` = #{record.state,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.bgSceneJson != null">
|
||||||
|
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.operaJson != null">
|
||||||
|
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.stepJson != null">
|
||||||
|
step_json = #{record.stepJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.scoringRuleJson != null">
|
||||||
|
scoring_rule_json = #{record.scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.memberJson != null">
|
||||||
|
member_json = #{record.memberJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.playerIdJson != null">
|
||||||
|
player_id_json = #{record.playerIdJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.finalScenesJson != null">
|
||||||
|
final_scenes_json = #{record.finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||||
|
update published_training2
|
||||||
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.mapId != null">
|
|
||||||
map_id = #{record.mapId,jdbcType=BIGINT},
|
map_id = #{record.mapId,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="record.description != null">
|
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.type != null">
|
|
||||||
`type` = #{record.type,jdbcType=VARCHAR},
|
`type` = #{record.type,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.labelJson != null">
|
|
||||||
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.mapLocationJson != null">
|
|
||||||
map_location_json = #{record.mapLocationJson,jdbcType=VARCHAR},
|
map_location_json = #{record.mapLocationJson,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.runPlanId != null">
|
|
||||||
run_plan_id = #{record.runPlanId,jdbcType=BIGINT},
|
run_plan_id = #{record.runPlanId,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="record.failureConditionJson != null">
|
|
||||||
failure_condition_json = #{record.failureConditionJson,jdbcType=VARCHAR},
|
failure_condition_json = #{record.failureConditionJson,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.creatorId != null">
|
|
||||||
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="record.createTime != null">
|
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
|
||||||
<if test="record.updateTime != null">
|
|
||||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
|
||||||
<if test="record.state != null">
|
|
||||||
`state` = #{record.state,jdbcType=INTEGER},
|
`state` = #{record.state,jdbcType=INTEGER},
|
||||||
</if>
|
|
||||||
<if test="record.bgSceneJson != null">
|
|
||||||
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.operaJson != null">
|
|
||||||
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.stepJson != null">
|
|
||||||
step_json = #{record.stepJson,jdbcType=LONGVARCHAR},
|
step_json = #{record.stepJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.scoringRuleJson != null">
|
|
||||||
scoring_rule_json = #{record.scoringRuleJson,jdbcType=LONGVARCHAR},
|
scoring_rule_json = #{record.scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.memberJson != null">
|
|
||||||
member_json = #{record.memberJson,jdbcType=LONGVARCHAR},
|
member_json = #{record.memberJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="record.playerIdJson != null">
|
|
||||||
player_id_json = #{record.playerIdJson,jdbcType=LONGVARCHAR},
|
player_id_json = #{record.playerIdJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
final_scenes_json = #{record.finalScenesJson,jdbcType=LONGVARCHAR}
|
||||||
</set>
|
<if test="_parameter != null">
|
||||||
<if test="_parameter != null">
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
</if>
|
||||||
</if>
|
</update>
|
||||||
</update>
|
<update id="updateByExample" parameterType="map">
|
||||||
<update id="updateByExampleWithBLOBs" parameterType="map">
|
update published_training2
|
||||||
update published_training2
|
set id = #{record.id,jdbcType=BIGINT},
|
||||||
set id = #{record.id,jdbcType=BIGINT},
|
`name` = #{record.name,jdbcType=VARCHAR},
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
map_id = #{record.mapId,jdbcType=BIGINT},
|
||||||
map_id = #{record.mapId,jdbcType=BIGINT},
|
description = #{record.description,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
`type` = #{record.type,jdbcType=VARCHAR},
|
||||||
`type` = #{record.type,jdbcType=VARCHAR},
|
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
||||||
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
map_location_json = #{record.mapLocationJson,jdbcType=VARCHAR},
|
||||||
map_location_json = #{record.mapLocationJson,jdbcType=VARCHAR},
|
run_plan_id = #{record.runPlanId,jdbcType=BIGINT},
|
||||||
run_plan_id = #{record.runPlanId,jdbcType=BIGINT},
|
failure_condition_json = #{record.failureConditionJson,jdbcType=VARCHAR},
|
||||||
failure_condition_json = #{record.failureConditionJson,jdbcType=VARCHAR},
|
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
||||||
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
`state` = #{record.state,jdbcType=INTEGER}
|
||||||
`state` = #{record.state,jdbcType=INTEGER},
|
<if test="_parameter != null">
|
||||||
bg_scene_json = #{record.bgSceneJson,jdbcType=LONGVARCHAR},
|
<include refid="Update_By_Example_Where_Clause"/>
|
||||||
opera_json = #{record.operaJson,jdbcType=LONGVARCHAR},
|
</if>
|
||||||
step_json = #{record.stepJson,jdbcType=LONGVARCHAR},
|
</update>
|
||||||
scoring_rule_json = #{record.scoringRuleJson,jdbcType=LONGVARCHAR},
|
<update id="updateByPrimaryKeySelective"
|
||||||
member_json = #{record.memberJson,jdbcType=LONGVARCHAR},
|
parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
||||||
player_id_json = #{record.playerIdJson,jdbcType=LONGVARCHAR}
|
update published_training2
|
||||||
<if test="_parameter != null">
|
<set>
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
<if test="name != null">
|
||||||
</if>
|
`name` = #{name,jdbcType=VARCHAR},
|
||||||
</update>
|
</if>
|
||||||
<update id="updateByExample" parameterType="map">
|
<if test="mapId != null">
|
||||||
update published_training2
|
map_id = #{mapId,jdbcType=BIGINT},
|
||||||
set id = #{record.id,jdbcType=BIGINT},
|
</if>
|
||||||
`name` = #{record.name,jdbcType=VARCHAR},
|
<if test="description != null">
|
||||||
map_id = #{record.mapId,jdbcType=BIGINT},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
description = #{record.description,jdbcType=VARCHAR},
|
</if>
|
||||||
`type` = #{record.type,jdbcType=VARCHAR},
|
<if test="type != null">
|
||||||
label_json = #{record.labelJson,jdbcType=VARCHAR},
|
`type` = #{type,jdbcType=VARCHAR},
|
||||||
map_location_json = #{record.mapLocationJson,jdbcType=VARCHAR},
|
</if>
|
||||||
run_plan_id = #{record.runPlanId,jdbcType=BIGINT},
|
<if test="labelJson != null">
|
||||||
failure_condition_json = #{record.failureConditionJson,jdbcType=VARCHAR},
|
label_json = #{labelJson,jdbcType=VARCHAR},
|
||||||
creator_id = #{record.creatorId,jdbcType=BIGINT},
|
</if>
|
||||||
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
<if test="mapLocationJson != null">
|
||||||
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
map_location_json = #{mapLocationJson,jdbcType=VARCHAR},
|
||||||
`state` = #{record.state,jdbcType=INTEGER}
|
</if>
|
||||||
<if test="_parameter != null">
|
<if test="runPlanId != null">
|
||||||
<include refid="Update_By_Example_Where_Clause" />
|
run_plan_id = #{runPlanId,jdbcType=BIGINT},
|
||||||
</if>
|
</if>
|
||||||
</update>
|
<if test="failureConditionJson != null">
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
failure_condition_json = #{failureConditionJson,jdbcType=VARCHAR},
|
||||||
update published_training2
|
</if>
|
||||||
<set>
|
<if test="creatorId != null">
|
||||||
<if test="name != null">
|
creator_id = #{creatorId,jdbcType=BIGINT},
|
||||||
`name` = #{name,jdbcType=VARCHAR},
|
</if>
|
||||||
</if>
|
<if test="createTime != null">
|
||||||
<if test="mapId != null">
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="state != null">
|
||||||
|
`state` = #{state,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="bgSceneJson != null">
|
||||||
|
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="operaJson != null">
|
||||||
|
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="stepJson != null">
|
||||||
|
step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="scoringRuleJson != null">
|
||||||
|
scoring_rule_json = #{scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="memberJson != null">
|
||||||
|
member_json = #{memberJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="playerIdJson != null">
|
||||||
|
player_id_json = #{playerIdJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="finalScenesJson != null">
|
||||||
|
final_scenes_json = #{finalScenesJson,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where id = #{id,jdbcType=BIGINT}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeyWithBLOBs"
|
||||||
|
parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
||||||
|
update published_training2
|
||||||
|
set `name` = #{name,jdbcType=VARCHAR},
|
||||||
map_id = #{mapId,jdbcType=BIGINT},
|
map_id = #{mapId,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="description != null">
|
|
||||||
description = #{description,jdbcType=VARCHAR},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="type != null">
|
|
||||||
`type` = #{type,jdbcType=VARCHAR},
|
`type` = #{type,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="labelJson != null">
|
|
||||||
label_json = #{labelJson,jdbcType=VARCHAR},
|
label_json = #{labelJson,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="mapLocationJson != null">
|
|
||||||
map_location_json = #{mapLocationJson,jdbcType=VARCHAR},
|
map_location_json = #{mapLocationJson,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="runPlanId != null">
|
|
||||||
run_plan_id = #{runPlanId,jdbcType=BIGINT},
|
run_plan_id = #{runPlanId,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="failureConditionJson != null">
|
|
||||||
failure_condition_json = #{failureConditionJson,jdbcType=VARCHAR},
|
failure_condition_json = #{failureConditionJson,jdbcType=VARCHAR},
|
||||||
</if>
|
|
||||||
<if test="creatorId != null">
|
|
||||||
creator_id = #{creatorId,jdbcType=BIGINT},
|
creator_id = #{creatorId,jdbcType=BIGINT},
|
||||||
</if>
|
|
||||||
<if test="createTime != null">
|
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
|
||||||
<if test="updateTime != null">
|
|
||||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
|
||||||
<if test="state != null">
|
|
||||||
`state` = #{state,jdbcType=INTEGER},
|
`state` = #{state,jdbcType=INTEGER},
|
||||||
</if>
|
|
||||||
<if test="bgSceneJson != null">
|
|
||||||
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="operaJson != null">
|
|
||||||
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="stepJson != null">
|
|
||||||
step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="scoringRuleJson != null">
|
|
||||||
scoring_rule_json = #{scoringRuleJson,jdbcType=LONGVARCHAR},
|
scoring_rule_json = #{scoringRuleJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="memberJson != null">
|
|
||||||
member_json = #{memberJson,jdbcType=LONGVARCHAR},
|
member_json = #{memberJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
|
||||||
<if test="playerIdJson != null">
|
|
||||||
player_id_json = #{playerIdJson,jdbcType=LONGVARCHAR},
|
player_id_json = #{playerIdJson,jdbcType=LONGVARCHAR},
|
||||||
</if>
|
final_scenes_json = #{finalScenesJson,jdbcType=LONGVARCHAR}
|
||||||
</set>
|
where id = #{id,jdbcType=BIGINT}
|
||||||
where id = #{id,jdbcType=BIGINT}
|
</update>
|
||||||
</update>
|
<update id="updateByPrimaryKey" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2">
|
||||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2WithBLOBs">
|
update published_training2
|
||||||
update published_training2
|
set `name` = #{name,jdbcType=VARCHAR},
|
||||||
set `name` = #{name,jdbcType=VARCHAR},
|
map_id = #{mapId,jdbcType=BIGINT},
|
||||||
map_id = #{mapId,jdbcType=BIGINT},
|
description = #{description,jdbcType=VARCHAR},
|
||||||
description = #{description,jdbcType=VARCHAR},
|
`type` = #{type,jdbcType=VARCHAR},
|
||||||
`type` = #{type,jdbcType=VARCHAR},
|
label_json = #{labelJson,jdbcType=VARCHAR},
|
||||||
label_json = #{labelJson,jdbcType=VARCHAR},
|
map_location_json = #{mapLocationJson,jdbcType=VARCHAR},
|
||||||
map_location_json = #{mapLocationJson,jdbcType=VARCHAR},
|
run_plan_id = #{runPlanId,jdbcType=BIGINT},
|
||||||
run_plan_id = #{runPlanId,jdbcType=BIGINT},
|
failure_condition_json = #{failureConditionJson,jdbcType=VARCHAR},
|
||||||
failure_condition_json = #{failureConditionJson,jdbcType=VARCHAR},
|
creator_id = #{creatorId,jdbcType=BIGINT},
|
||||||
creator_id = #{creatorId,jdbcType=BIGINT},
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
`state` = #{state,jdbcType=INTEGER}
|
||||||
`state` = #{state,jdbcType=INTEGER},
|
where id = #{id,jdbcType=BIGINT}
|
||||||
bg_scene_json = #{bgSceneJson,jdbcType=LONGVARCHAR},
|
</update>
|
||||||
opera_json = #{operaJson,jdbcType=LONGVARCHAR},
|
|
||||||
step_json = #{stepJson,jdbcType=LONGVARCHAR},
|
|
||||||
scoring_rule_json = #{scoringRuleJson,jdbcType=LONGVARCHAR},
|
|
||||||
member_json = #{memberJson,jdbcType=LONGVARCHAR},
|
|
||||||
player_id_json = #{playerIdJson,jdbcType=LONGVARCHAR}
|
|
||||||
where id = #{id,jdbcType=BIGINT}
|
|
||||||
</update>
|
|
||||||
<update id="updateByPrimaryKey" parameterType="club.joylink.rtss.entity.training2.PublishedTraining2">
|
|
||||||
update published_training2
|
|
||||||
set `name` = #{name,jdbcType=VARCHAR},
|
|
||||||
map_id = #{mapId,jdbcType=BIGINT},
|
|
||||||
description = #{description,jdbcType=VARCHAR},
|
|
||||||
`type` = #{type,jdbcType=VARCHAR},
|
|
||||||
label_json = #{labelJson,jdbcType=VARCHAR},
|
|
||||||
map_location_json = #{mapLocationJson,jdbcType=VARCHAR},
|
|
||||||
run_plan_id = #{runPlanId,jdbcType=BIGINT},
|
|
||||||
failure_condition_json = #{failureConditionJson,jdbcType=VARCHAR},
|
|
||||||
creator_id = #{creatorId,jdbcType=BIGINT},
|
|
||||||
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
||||||
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
||||||
`state` = #{state,jdbcType=INTEGER}
|
|
||||||
where id = #{id,jdbcType=BIGINT}
|
|
||||||
</update>
|
|
||||||
</mapper>
|
</mapper>
|
Loading…
Reference in New Issue
Block a user