This commit is contained in:
lu7213 committed 2026-07-28 04:19:11 -04:00
1 parent 4bf3e66a3a
commit 85643b2cad
3 files changed
+27 -2

No files matched your search

@@ -18,10 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="y" column="y" />
<result property="createTime" column="create_time" />
<result property="updateTime" column="update_time" />
<result property="characterType" column="character_type" />
</resultMap>
<sql id="selectDmGroupTaskRelationVo">
select id, group_id,`x`,`y`, player_id, player_name, account_id, window_index, window_hwnd, is_master, status, create_time, update_time from dm_group_task_relation
select id, character_type,group_id,`x`,`y`, player_id, player_name, account_id, window_index, window_hwnd, is_master, status, create_time, update_time from dm_group_task_relation
</sql>
<select id="selectDmGroupTaskRelationList" parameterType="DmGroupTaskRelation" resultMap="DmGroupTaskRelationResult">
@@ -53,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if>
<if test="x != null">`x`,</if>
<if test="y != null">`y`,</if>
<if test="characterType != null">`character_type`,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="groupId != null">#{groupId},</if>
@@ -67,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">#{updateTime},</if>
<if test="x != null">#{x},</if>
<if test="y != null">#{y},</if>
<if test="characterType != null">#{characterType},</if>
</trim>
</insert>
@@ -85,6 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="x != null">`x` = #{x},</if>
<if test="y != null">`y` = #{y},</if>
<if test="characterType != null">`character_type` = #{characterType},</if>
</trim>
where id = #{id}
</update>