Merge remote-tracking branch 'origin/v2.0.5_dev' into v2.0.5_dev

This commit is contained in:
HuangXin 2021-01-27 16:01:54 +08:00
commit 105610c578
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class DeviceTaskManagerImpl implements DeviceTaskManager {
@Override
public boolean addDisposeDeviceTaskInfo(Long taskId, Long deviceId, Long attackTypeMask) {
// 如果已经存在相同任务不再添加重复任务
if (deviceTaskMapper.getTaskByDetails(taskId, deviceId).size() != 0) {
if (deviceTaskCreated(taskId, deviceId)) {
return true;
}