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

No files matched your search

@@ -54,6 +54,16 @@ public class DmGroupTaskRelation extends BaseEntity
@Excel(name = "y") @Excel(name = "y")
private Integer 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() { public Integer getX() {
return x; return x;
@@ -53,6 +53,17 @@ public class DmGroupTaskRelationPlus implements Serializable
private Date createTime; private Date createTime;
/** 更新时间 */ /** 更新时间 */
private Date updateTime; private Date updateTime;
private Integer characterType;
public Integer getCharacterType() {
return characterType;
}
public void setCharacterType(Integer characterType) {
this.characterType = characterType;
}
public void setId(Long id) public void setId(Long id)
{ {
this.id = id; this.id = id;
@@ -18,10 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="y" column="y" /> <result property="y" column="y" />
<result property="createTime" column="create_time" /> <result property="createTime" column="create_time" />
<result property="updateTime" column="update_time" /> <result property="updateTime" column="update_time" />
<result property="characterType" column="character_type" />
</resultMap> </resultMap>
<sql id="selectDmGroupTaskRelationVo"> <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> </sql>
<select id="selectDmGroupTaskRelationList" parameterType="DmGroupTaskRelation" resultMap="DmGroupTaskRelationResult"> <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="updateTime != null">update_time,</if>
<if test="x != null">`x`,</if> <if test="x != null">`x`,</if>
<if test="y != null">`y`,</if> <if test="y != null">`y`,</if>
<if test="characterType != null">`character_type`,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="groupId != null">#{groupId},</if> <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="updateTime != null">#{updateTime},</if>
<if test="x != null">#{x},</if> <if test="x != null">#{x},</if>
<if test="y != null">#{y},</if> <if test="y != null">#{y},</if>
<if test="characterType != null">#{characterType},</if>
</trim> </trim>
</insert> </insert>
@@ -85,6 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time = #{updateTime},</if> <if test="updateTime != null">update_time = #{updateTime},</if>
<if test="x != null">`x` = #{x},</if> <if test="x != null">`x` = #{x},</if>
<if test="y != null">`y` = #{y},</if> <if test="y != null">`y` = #{y},</if>
<if test="characterType != null">`character_type` = #{characterType},</if>
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>