REM:
1. 修改DispodeTaks、TaskInfo数据库MYSQL语句
2. 修改TaskInfo类,增加deviceId字段
This commit is contained in:
chenlinghy 2020-08-14 10:13:25 +08:00
parent 185d4eb0f8
commit e2d5cb9ec1
3 changed files with 6 additions and 1 deletions

View File

@ -39,11 +39,14 @@ public class TaskInfo implements Serializable {
@Id
@KeySql(useGeneratedKeys = true)
private Long id;
/**
* The Task id.
*/
private Long taskId;
/**
* The Device id.
*/
private Long deviceId;
/**
* The Begin time.
*/

View File

@ -17,6 +17,7 @@
<collection property="taskInfo" ofType="com.dispose.pojo.entity.TaskInfo">
<id column="t_id" property="id"/>
<result column="taskId" property="taskId"/>
<result column="t_deviceId" property="deviceId"/>
<result column="beginTime" property="beginTime"/>
<result column="t_endTime" property="endTime"/>
<result column="taskAttackType" property="execAttackType"/>

View File

@ -8,6 +8,7 @@
<result column="beginTime" property="beginTime"/>
<result column="endTime" property="endTime"/>
<result column="taskAttackType" property="execAttackType"/>
<result column="execAttackType" property="execAttackType"/>
<result column="attackTypeStatus" property="attackTypeStatus"/>
<result column="externId" property="externId"/>
<result column="status" property="status"/>