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

@@ -54,6 +54,16 @@ public class DmGroupTaskRelation extends BaseEntity
@Excel(name = "y")
private Integer y;
@Excel(name = "角色类型")
private Integer characterType;
public Integer getCharacterType() {
return characterType;
}
public void setCharacterType(Integer characterType) {
this.characterType = characterType;
}
public Integer getX() {
return x;
@@ -53,7 +53,18 @@ public class DmGroupTaskRelationPlus implements Serializable
private Date createTime;
/** 更新时间 */
private Date updateTime;
public void setId(Long id)
private Integer characterType;
public Integer getCharacterType() {
return characterType;
}
public void setCharacterType(Integer characterType) {
this.characterType = characterType;
}
public void setId(Long id)
{
this.id = id;
}
@@ -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>