|
|
@@ -10,11 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
<select id="selectTournamentsVoListTemplate" resultType="org.dromara.business.domain.vo.TournamentsVo">
|
|
|
- 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,reward_players,total_signup,robot_count,delay_card_time,delay_card_num,action_time,competition_bg,min_players,game_variant,target_tournament_id,qualifier_value,qualifier_type,start_blind_level,rebuy,delay_show FROM tournaments_template ${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,reward_players,total_signup,robot_count,delay_card_time,delay_card_num,action_time,competition_bg,min_players,game_variant,target_tournament_id,qualifier_value,qualifier_type,start_blind_level,rebuy,delay_show,remark FROM tournaments_template ${ew.customSqlSegment}
|
|
|
</select>
|
|
|
|
|
|
<select id="selectVoByIdInfoTemplate" resultType="org.dromara.business.domain.vo.TournamentsVo">
|
|
|
- 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,reward_players,total_signup,robot_count,delay_card_time,delay_card_num,action_time,competition_bg,min_players,game_variant,target_tournament_id,qualifier_value,qualifier_type,start_blind_level,rebuy,delay_show FROM tournaments_template 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,reward_players,total_signup,robot_count,delay_card_time,delay_card_num,action_time,competition_bg,min_players,game_variant,target_tournament_id,qualifier_value,qualifier_type,start_blind_level,rebuy,delay_show,remark FROM tournaments_template WHERE id = #{id}
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@@ -48,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="startBlindLevel != null">start_blind_level = #{startBlindLevel},</if>
|
|
|
<if test="qualifierValue != null">qualifier_value = #{qualifierValue},</if>
|
|
|
<if test="rebuy != null">rebuy = #{rebuy},</if>
|
|
|
+ <if test="remark != null">remark = #{remark},</if>
|
|
|
<if test="delayShow != null">delay_show = #{delayShow}</if>
|
|
|
</set>
|
|
|
WHERE id = #{id}
|
|
|
@@ -83,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="startBlindLevel != null">start_blind_level,</if>
|
|
|
<if test="rebuy != null">rebuy,</if>
|
|
|
<if test="delayShow != null">delay_show,</if>
|
|
|
+ <if test="remark != null">remark,</if>
|
|
|
</trim>
|
|
|
VALUES
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
@@ -111,7 +113,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="qualifierValue != null">#{qualifierValue},</if>
|
|
|
<if test="startBlindLevel != null">#{startBlindLevel},</if>
|
|
|
<if test="rebuy != null">#{rebuy},</if>
|
|
|
+ <if test="remark != null">remark = #{remark},</if>
|
|
|
<if test="delayShow != null">#{delayShow},</if>
|
|
|
+ <if test="remark != null">#{remark},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|