|
@@ -36,8 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="competitionIcon != null">competition_icon = #{competitionIcon},</if>
|
|
<if test="competitionIcon != null">competition_icon = #{competitionIcon},</if>
|
|
|
<if test="updateUserId != null">update_user_id = #{updateUserId},</if>
|
|
<if test="updateUserId != null">update_user_id = #{updateUserId},</if>
|
|
|
<if test="tournamentsBiId != null">tournaments_bi_id = #{tournamentsBiId},</if>
|
|
<if test="tournamentsBiId != null">tournaments_bi_id = #{tournamentsBiId},</if>
|
|
|
|
|
+ <if test="delayCardTime != null">delay_card_time = #{delayCardTime},</if>
|
|
|
|
|
+ <if test="delayCardNum != null">delay_card_num = #{delayCardNum},</if>
|
|
|
|
|
+ <if test="actionTime != null">action_time = #{actionTime},</if>
|
|
|
<if test="robotCount != null">robot_count = #{robotCount}</if>
|
|
<if test="robotCount != null">robot_count = #{robotCount}</if>
|
|
|
-
|
|
|
|
|
</set>
|
|
</set>
|
|
|
WHERE id = #{id}
|
|
WHERE id = #{id}
|
|
|
</update>
|
|
</update>
|
|
@@ -61,6 +63,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="tournamentsBiId != null">tournaments_bi_id,</if>
|
|
<if test="tournamentsBiId != null">tournaments_bi_id,</if>
|
|
|
<if test="robotCount != null">robot_count,</if>
|
|
<if test="robotCount != null">robot_count,</if>
|
|
|
<if test="isDelete != null">is_delete,</if>
|
|
<if test="isDelete != null">is_delete,</if>
|
|
|
|
|
+ <if test="delayCardTime != null">delay_card_time,</if>
|
|
|
|
|
+ <if test="delayCardNum != null">delay_card_num,</if>
|
|
|
|
|
+ <if test="actionTime != null">action_time,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
VALUES
|
|
VALUES
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
@@ -79,6 +84,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="tournamentsBiId != null">#{tournamentsBiId},</if>
|
|
<if test="tournamentsBiId != null">#{tournamentsBiId},</if>
|
|
|
<if test="robotCount != null">#{robotCount},</if>
|
|
<if test="robotCount != null">#{robotCount},</if>
|
|
|
<if test="isDelete != null">#{isDelete},</if>
|
|
<if test="isDelete != null">#{isDelete},</if>
|
|
|
|
|
+ <if test="delayCardTime != null">#{delayCardTime},</if>
|
|
|
|
|
+ <if test="delayCardNum != null">#{delayCardNum},</if>
|
|
|
|
|
+ <if test="actionTime != null">#{actionTime},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|