|
@@ -11,11 +11,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectPhysicalTournamentsVoList" resultType="org.dromara.physical.domain.vo.PhysicalTournamentsVo">
|
|
<select id="selectPhysicalTournamentsVoList" resultType="org.dromara.physical.domain.vo.PhysicalTournamentsVo">
|
|
|
- SELECT id, name, start_time, end_time,game_type, starting_chips, level_duration, late_registration_level, max_players, status, created_at, updated_at,sign_time,competition_icon,tournaments_bi_id,robot_count,is_delete,delay_card_time,delay_card_num,action_time,competition_bg,min_players,competition_location,tournaments_introduction,league_tournament_id,league_tournament_region FROM physical_tournaments ${ew.customSqlSegment}
|
|
|
|
|
|
|
+ SELECT id, name, start_time, end_time,game_type, starting_chips, level_duration, late_registration_level, max_players, status, created_at, updated_at,sign_time,competition_icon,tournaments_bi_id,robot_count,is_delete,delay_card_time,delay_card_num,action_time,competition_bg,min_players,competition_location,tournaments_introduction,league_tournament_id,league_tournament_region,game_variant FROM physical_tournaments ${ew.customSqlSegment}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectPhysicalTournamentsByIdInfo" resultType="org.dromara.physical.domain.vo.PhysicalTournamentsVo">
|
|
<select id="selectPhysicalTournamentsByIdInfo" resultType="org.dromara.physical.domain.vo.PhysicalTournamentsVo">
|
|
|
- SELECT id, name, start_time, end_time,game_type, starting_chips, level_duration, late_registration_level, max_players, status, created_at, updated_at,sign_time,competition_icon,tournaments_bi_id,robot_count,is_delete,delay_card_time,delay_card_num,action_time,competition_bg,min_players,competition_location,tournaments_introduction,league_tournament_id,league_tournament_region FROM physical_tournaments WHERE id = #{id}
|
|
|
|
|
|
|
+ SELECT id, name, start_time, end_time,game_type, starting_chips, level_duration, late_registration_level, max_players, status, created_at, updated_at,sign_time,competition_icon,tournaments_bi_id,robot_count,is_delete,delay_card_time,delay_card_num,action_time,competition_bg,min_players,competition_location,tournaments_introduction,league_tournament_id,league_tournament_region,game_variant FROM physical_tournaments WHERE id = #{id}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="competitionLocation != null">competition_location = #{competitionLocation},</if>
|
|
<if test="competitionLocation != null">competition_location = #{competitionLocation},</if>
|
|
|
<if test="leagueTournamentId != null">league_tournament_id = #{leagueTournamentId},</if>
|
|
<if test="leagueTournamentId != null">league_tournament_id = #{leagueTournamentId},</if>
|
|
|
<if test="leagueTournamentRegion != null">league_tournament_region = #{leagueTournamentRegion},</if>
|
|
<if test="leagueTournamentRegion != null">league_tournament_region = #{leagueTournamentRegion},</if>
|
|
|
|
|
+ <if test="gameVariant != null">game_variant = #{gameVariant},</if>
|
|
|
<if test="tournamentsIntroduction != null">tournaments_introduction = #{tournamentsIntroduction}</if>
|
|
<if test="tournamentsIntroduction != null">tournaments_introduction = #{tournamentsIntroduction}</if>
|
|
|
</set>
|
|
</set>
|
|
|
WHERE id = #{id}
|
|
WHERE id = #{id}
|
|
@@ -79,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="tournamentsIntroduction != null">tournaments_introduction,</if>
|
|
<if test="tournamentsIntroduction != null">tournaments_introduction,</if>
|
|
|
<if test="leagueTournamentId != null">league_tournament_id,</if>
|
|
<if test="leagueTournamentId != null">league_tournament_id,</if>
|
|
|
<if test="leagueTournamentRegion != null">league_tournament_region,</if>
|
|
<if test="leagueTournamentRegion != null">league_tournament_region,</if>
|
|
|
|
|
+ <if test="gameVariant != null">game_variant,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
VALUES
|
|
VALUES
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
@@ -106,6 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="tournamentsIntroduction != null">#{tournamentsIntroduction},</if>
|
|
<if test="tournamentsIntroduction != null">#{tournamentsIntroduction},</if>
|
|
|
<if test="leagueTournamentId != null">#{leagueTournamentId},</if>
|
|
<if test="leagueTournamentId != null">#{leagueTournamentId},</if>
|
|
|
<if test="leagueTournamentRegion != null">#{leagueTournamentRegion},</if>
|
|
<if test="leagueTournamentRegion != null">#{leagueTournamentRegion},</if>
|
|
|
|
|
+ <if test="gameVariant != null">#{gameVariant},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -124,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectPhysicalTournamentsLeagueId" resultType="org.dromara.physical.domain.vo.PhysicalTournamentsVo">
|
|
<select id="selectPhysicalTournamentsLeagueId" resultType="org.dromara.physical.domain.vo.PhysicalTournamentsVo">
|
|
|
- SELECT id, name, start_time, end_time,game_type, starting_chips, level_duration, late_registration_level, max_players, status, created_at, updated_at,sign_time,competition_icon,tournaments_bi_id,robot_count,is_delete,delay_card_time,delay_card_num,action_time,competition_bg,min_players,competition_location,tournaments_introduction,league_tournament_id,league_tournament_region FROM physical_tournaments WHERE league_tournament_id = #{leagueTournamentId}
|
|
|
|
|
|
|
+ SELECT id, name,game_variant,start_time, end_time,game_type, starting_chips, level_duration, late_registration_level, max_players, status, created_at, updated_at,sign_time,competition_icon,tournaments_bi_id,robot_count,is_delete,delay_card_time,delay_card_num,action_time,competition_bg,min_players,competition_location,tournaments_introduction,league_tournament_id,league_tournament_region FROM physical_tournaments WHERE league_tournament_id = #{leagueTournamentId}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|