parent
da189c151f
commit
7a00d87031
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue