This commit is contained in:
lu7213 committed 2026-05-10 05:16:10 -04:00
1 parent 36e5ab3308
commit b77f5b0701
6 files changed
+54 -16

No files matched your search

@@ -17,10 +17,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="yoloWidth" column="yolo_width" />
<result property="customParams" column="custom_params" />
<result property="fixedDirection" column="fixed_direction" />
<result property="shoutKey" column="shout_key" />
</resultMap>
<sql id="selectDmPlayerConfigVo">
select id, player_id, create_time, update_time, shout_interval, shout_mana, auto_add_mana, add_mana_threshold, yolo_height, yolo_width, custom_params, fixed_direction from dm_player_config
select id, player_id, create_time,shout_key, update_time, shout_interval, shout_mana, auto_add_mana, add_mana_threshold, yolo_height, yolo_width, custom_params, fixed_direction from dm_player_config
</sql>
<select id="selectDmPlayerConfigList" parameterType="DmPlayerConfig" resultMap="DmPlayerConfigResult">
@@ -35,7 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectDmPlayerConfigVo"/>
where id = #{id}
</select>
<select id="selectDmPlayerConfigByPlayerId" parameterType="Long" resultMap="DmPlayerConfigResult">
<include refid="selectDmPlayerConfigVo"/>
where player_id = #{playerId}
</select>
<insert id="insertDmPlayerConfig" parameterType="DmPlayerConfig" useGeneratedKeys="true" keyProperty="id">
insert into dm_player_config
<trim prefix="(" suffix=")" suffixOverrides=",">