|
@@ -3,12 +3,11 @@ package com.simuwang.manage.api.log;
|
|
|
import com.simuwang.base.common.support.MybatisPage;
|
|
|
import com.simuwang.base.pojo.dto.query.TaskPageQuery;
|
|
|
import com.simuwang.base.pojo.vo.EmailTaskInfoVO;
|
|
|
+import com.simuwang.base.pojo.vo.IdListVO;
|
|
|
import com.simuwang.logging.SystemLog;
|
|
|
import com.simuwang.manage.service.TaskLogService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
|
* 任务信息管理
|
|
@@ -33,5 +32,15 @@ public class TaskLogController {
|
|
|
MybatisPage<EmailTaskInfoVO> result = taskLogService.searchTaskList(taskPageQuery);
|
|
|
return result;
|
|
|
}
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 删除任务列表
|
|
|
+ * @param idListVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @SystemLog(value = "删除任务列表",type = SystemLog.Type.DELETE)
|
|
|
+ @PostMapping("/delete-task-log")
|
|
|
+ public boolean deleteLog(@RequestBody IdListVO idListVO){
|
|
|
+ taskLogService.deleteTaskLog(idListVO);
|
|
|
+ return true;
|
|
|
+ }
|
|
|
}
|