1
This commit is contained in:
1 parent
89e9cccf1d
commit
69706cfbcd
3 files changed
+51
-1
No files matched your search
@@ -49,6 +49,27 @@ public class DmGroupTaskRelation extends BaseEntity
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private Integer status;
|
||||
@Excel(name = "x")
|
||||
private Integer x;
|
||||
|
||||
@Excel(name = "y")
|
||||
private Integer y;
|
||||
|
||||
public Integer getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
public void setX(Integer x) {
|
||||
this.x = x;
|
||||
}
|
||||
|
||||
public Integer getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
public void setY(Integer y) {
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
|
||||
@@ -44,6 +44,11 @@ public class DmGroupTaskRelationPlus implements Serializable
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private Integer status;
|
||||
@Excel(name = "x")
|
||||
private Integer x;
|
||||
|
||||
@Excel(name = "y")
|
||||
private Integer y;
|
||||
/** 创建时间 */
|
||||
private Date createTime;
|
||||
/** 更新时间 */
|
||||
@@ -53,6 +58,22 @@ public class DmGroupTaskRelationPlus implements Serializable
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
public void setX(Integer x) {
|
||||
this.x = x;
|
||||
}
|
||||
|
||||
public Integer getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
public void setY(Integer y) {
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
|
||||
@@ -14,12 +14,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="windowHwnd" column="window_hwnd" />
|
||||
<result property="isMaster" column="is_master" />
|
||||
<result property="status" column="status" />
|
||||
<result property="x" column="x" />
|
||||
<result property="y" column="y" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDmGroupTaskRelationVo">
|
||||
select id, group_id, player_id, player_name, account_id, window_index, window_hwnd, is_master, status, create_time, update_time from dm_group_task_relation
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectDmGroupTaskRelationList" parameterType="DmGroupTaskRelation" resultMap="DmGroupTaskRelationResult">
|
||||
@@ -49,6 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="status != null">status,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="x != null">`x`,</if>
|
||||
<if test="y != null">`y`,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="groupId != null">#{groupId},</if>
|
||||
@@ -61,6 +65,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="x != null">#{x},</if>
|
||||
<if test="y != null">#{y},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -77,6 +83,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="x != null">`x` = #{x},</if>
|
||||
<if test="y != null">`y` = #{y},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in new issue
Block a user