OCT
REM: 1. 修改DispodeTaks、TaskInfo数据库MYSQL语句 2. 修改TaskInfo类,增加deviceId字段
This commit is contained in:
parent
185d4eb0f8
commit
e2d5cb9ec1
|
@ -39,11 +39,14 @@ public class TaskInfo implements Serializable {
|
||||||
@Id
|
@Id
|
||||||
@KeySql(useGeneratedKeys = true)
|
@KeySql(useGeneratedKeys = true)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Task id.
|
* The Task id.
|
||||||
*/
|
*/
|
||||||
private Long taskId;
|
private Long taskId;
|
||||||
|
/**
|
||||||
|
* The Device id.
|
||||||
|
*/
|
||||||
|
private Long deviceId;
|
||||||
/**
|
/**
|
||||||
* The Begin time.
|
* The Begin time.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
<collection property="taskInfo" ofType="com.dispose.pojo.entity.TaskInfo">
|
<collection property="taskInfo" ofType="com.dispose.pojo.entity.TaskInfo">
|
||||||
<id column="t_id" property="id"/>
|
<id column="t_id" property="id"/>
|
||||||
<result column="taskId" property="taskId"/>
|
<result column="taskId" property="taskId"/>
|
||||||
|
<result column="t_deviceId" property="deviceId"/>
|
||||||
<result column="beginTime" property="beginTime"/>
|
<result column="beginTime" property="beginTime"/>
|
||||||
<result column="t_endTime" property="endTime"/>
|
<result column="t_endTime" property="endTime"/>
|
||||||
<result column="taskAttackType" property="execAttackType"/>
|
<result column="taskAttackType" property="execAttackType"/>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<result column="beginTime" property="beginTime"/>
|
<result column="beginTime" property="beginTime"/>
|
||||||
<result column="endTime" property="endTime"/>
|
<result column="endTime" property="endTime"/>
|
||||||
<result column="taskAttackType" property="execAttackType"/>
|
<result column="taskAttackType" property="execAttackType"/>
|
||||||
|
<result column="execAttackType" property="execAttackType"/>
|
||||||
<result column="attackTypeStatus" property="attackTypeStatus"/>
|
<result column="attackTypeStatus" property="attackTypeStatus"/>
|
||||||
<result column="externId" property="externId"/>
|
<result column="externId" property="externId"/>
|
||||||
<result column="status" property="status"/>
|
<result column="status" property="status"/>
|
||||||
|
|
Loading…
Reference in New Issue