This commit is contained in:
lu7213 committed 2026-05-14 22:42:45 -04:00
1 parent e22f6b510b
commit 89e9cccf1d
1 file changed
+3
@@ -54,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="yoloWidth != null">yolo_width,</if>
<if test="customParams != null">custom_params,</if>
<if test="fixedDirection != null">fixed_direction,</if>
<if test="shoutKey != null">shoutKey,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="playerId != null">#{playerId},</if>
@@ -67,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="yoloWidth != null">#{yoloWidth},</if>
<if test="customParams != null">#{customParams},</if>
<if test="fixedDirection != null">#{fixedDirection},</if>
<if test="shoutKey != null">#{shoutKey},</if>
</trim>
</insert>
@@ -84,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="yoloWidth != null">yolo_width = #{yoloWidth},</if>
<if test="customParams != null">custom_params = #{customParams},</if>
<if test="fixedDirection != null">fixed_direction = #{fixedDirection},</if>
<if test="shoutKey != null">shout_key = #{shoutKey},</if>
</trim>
where id = #{id}
</update>