diff --git a/src/main/java/com/dispose/pojo/entity/TaskInfo.java b/src/main/java/com/dispose/pojo/entity/TaskInfo.java index ec80bd38..1d618cb1 100644 --- a/src/main/java/com/dispose/pojo/entity/TaskInfo.java +++ b/src/main/java/com/dispose/pojo/entity/TaskInfo.java @@ -16,8 +16,6 @@ import java.io.Serializable; /** * The type Task info. - * - * @author */ @Data @NoArgsConstructor @@ -48,8 +46,8 @@ public class TaskInfo implements Serializable { */ private Long deviceId; /** - * The Begin time. - */ + * The Begin time. + */ private String beginTime; /** * The End time. @@ -60,13 +58,21 @@ public class TaskInfo implements Serializable { */ private Long taskAttackType; /** - * The Exec attack type. + * The Exec attack type in. */ - private Long execAttackType; + private Long execAttackTypeIn; /** - * The Attack type status. + * The Attack type status in. */ - private Long attackTypeStatus; + private Long attackTypeStatusIn; + /** + * The Exec attack type out. + */ + private Long execAttackTypeOut; + /** + * The Attack type status out. + */ + private Long attackTypeStatusOut; /** * The Extern id. */ diff --git a/src/main/resources/mappers/TaskInfo.xml b/src/main/resources/mappers/TaskInfo.xml index f247359d..25947d70 100644 --- a/src/main/resources/mappers/TaskInfo.xml +++ b/src/main/resources/mappers/TaskInfo.xml @@ -1,20 +1,22 @@ - + - - - + + + + + - SELECT * FROM task_info @@ -34,7 +36,7 @@ VALUES (#{taskId}, #{deviceId}, #{taskAttackType}) - SELECT * FROM task_info WHERE taskId = #{taskId, jdbcType=INTEGER}