1、protocolnum解決

2、docker run 時間同步
This commit is contained in:
PushM
2024-06-09 04:16:06 +08:00
parent 0523eb790b
commit ae5b9da486
3 changed files with 17 additions and 5 deletions

View File

@@ -281,6 +281,7 @@ public class TaskService {
@Transactional
public Boolean updateTask(Task task) {
//未审核不能修改
if (!Objects.equals(taskMapper.queryTaskAuditStatus(task.getTaskId()), AuditStatusEnum.AUDITED.getNum())) {
return false;
}
@@ -368,7 +369,8 @@ public class TaskService {
List<TaskCommandInfo> staticCommandInfos = taskMapper.getStaticCommandInfos(taskId);
staticCommandInfos.forEach(taskCommandInfo -> {
taskCommandInfo.setProtocolNum();
// taskCommandInfo.setProtocolNum();
taskCommandInfo.getFiveTupleWithMask().setProtocolNum(Integer.valueOf(taskCommandInfo.getFiveTupleWithMask().getProtocol()));
// taskCommandInfo.setMask();
});