Merge remote-tracking branch 'origin/v2.0.5_dev' into v2.0.5_dev
This commit is contained in:
commit
105610c578
|
@ -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