1. 动态规则发送筛选条件时新增“日志规则ID”字段
2. 解决防护对象未返回IP字段错误 3. 将queryTasks中的auditStatus从Boolean改为Integer
This commit is contained in:
@@ -30,6 +30,8 @@ public class TaskService {
|
||||
task.setTaskCreateUsername("xxx");
|
||||
task.setTaskCreateDepart("xxx");
|
||||
|
||||
// todo: 添加新建任务时,将动态/静态规则从“已审核”修改为“使用中”
|
||||
|
||||
taskMapper.newTask(task);
|
||||
|
||||
if (task.getStaticRuleIds() != null && !task.getStaticRuleIds().isEmpty())
|
||||
@@ -44,7 +46,7 @@ public class TaskService {
|
||||
@Transactional
|
||||
public List<Task> queryTasks(Integer taskStatus,
|
||||
Integer taskType, String taskName, String taskCreator,
|
||||
Boolean auditStatus,
|
||||
Integer auditStatus,
|
||||
Integer page, Integer pageSize) {
|
||||
List<Task> tasks = taskMapper.queryTasks(taskStatus, taskType, taskName, taskCreator, auditStatus, page, pageSize);
|
||||
for (Task task : tasks) {
|
||||
|
||||
Reference in New Issue
Block a user