修改bug

master
Cui YongXing 2024-09-05 00:10:51 +08:00
parent 37b407316c
commit 1f4850ddc3
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,7 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
@Override
public String findByFieName2(Long taskId) {
long start = System.currentTimeMillis();
TaskInfo taskInfo = taskInfoMapper.selectById(taskId);
String weight = taskInfo.getWeight();
QueryWrapper<TaskInput> wrapper = new QueryWrapper<>();
@ -283,6 +284,8 @@ public class TaskInfoServiceImpl extends ServiceImpl<TaskInfoMapper, TaskInfo> i
// 任务完成后恢复默认线程分配
restoreDefaults();
}
long end = System.currentTimeMillis();
log.info("执行时间:{}",end-start);
return null;
}