修改bug
This commit is contained in:
parent
f6053aa743
commit
4f89f0254d
@ -241,7 +241,7 @@ public class ProjectUfaceConfigServiceImpl extends ServiceImpl<ProjectUfaceConfi
|
|||||||
} else if (tempProjectUfaceConfig.getSupplierType() == 9) {
|
} else if (tempProjectUfaceConfig.getSupplierType() == 9) {
|
||||||
//海康门禁isc
|
//海康门禁isc
|
||||||
String notDevSns = StrUtil.join(",", list.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
String notDevSns = StrUtil.join(",", list.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
asyncHikvision.projectUfaceConfigService.deletePersonAuth(workerInfo, notDevSns);
|
this.deletePersonAuth(workerInfo, notDevSns);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -261,7 +261,7 @@ public class ProjectUfaceConfigServiceImpl extends ServiceImpl<ProjectUfaceConfi
|
|||||||
.eq(UfaceDev::getProjectSn, workerInfo.getProjectSn()));
|
.eq(UfaceDev::getProjectSn, workerInfo.getProjectSn()));
|
||||||
if (CollUtil.isNotEmpty(allList)) {
|
if (CollUtil.isNotEmpty(allList)) {
|
||||||
String devSns = StrUtil.join(",", allList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
String devSns = StrUtil.join(",", allList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
asyncHikvision.projectUfaceConfigService.deletePersonAuth(workerInfo, devSns);
|
this.deletePersonAuth(workerInfo, devSns);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//海康门禁isc
|
//海康门禁isc
|
||||||
@ -280,7 +280,7 @@ public class ProjectUfaceConfigServiceImpl extends ServiceImpl<ProjectUfaceConfi
|
|||||||
);
|
);
|
||||||
if (CollUtil.isNotEmpty(notExistList)) {
|
if (CollUtil.isNotEmpty(notExistList)) {
|
||||||
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
asyncHikvision.projectUfaceConfigService.deletePersonAuth(workerInfo, notDevSns);
|
this.deletePersonAuth(workerInfo, notDevSns);
|
||||||
}
|
}
|
||||||
if (CollUtil.isNotEmpty(existList)) {
|
if (CollUtil.isNotEmpty(existList)) {
|
||||||
devSns = StrUtil.join(",", existList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
devSns = StrUtil.join(",", existList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
@ -292,7 +292,7 @@ public class ProjectUfaceConfigServiceImpl extends ServiceImpl<ProjectUfaceConfi
|
|||||||
.eq(UfaceDev::getProjectSn, workerInfo.getProjectSn()));
|
.eq(UfaceDev::getProjectSn, workerInfo.getProjectSn()));
|
||||||
if (CollUtil.isNotEmpty(notExistList)) {
|
if (CollUtil.isNotEmpty(notExistList)) {
|
||||||
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
asyncHikvision.projectUfaceConfigService.deletePersonAuth(workerInfo, notDevSns);
|
this.deletePersonAuth(workerInfo, notDevSns);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (Objects.equals(workerInfo.getDevType(), 2)) {
|
} else if (Objects.equals(workerInfo.getDevType(), 2)) {
|
||||||
@ -303,7 +303,7 @@ public class ProjectUfaceConfigServiceImpl extends ServiceImpl<ProjectUfaceConfi
|
|||||||
List<UfaceDev> notExistList = ufaceDevMapper.getUfaceDevListForIscNotExist(StrUtil.split(ufaceDevGroupId, ","), workerInfo.getProjectSn());
|
List<UfaceDev> notExistList = ufaceDevMapper.getUfaceDevListForIscNotExist(StrUtil.split(ufaceDevGroupId, ","), workerInfo.getProjectSn());
|
||||||
if (CollUtil.isNotEmpty(notExistList)) {
|
if (CollUtil.isNotEmpty(notExistList)) {
|
||||||
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
asyncHikvision.projectUfaceConfigService.deletePersonAuth(workerInfo, notDevSns);
|
this.deletePersonAuth(workerInfo, notDevSns);
|
||||||
}
|
}
|
||||||
if (CollUtil.isNotEmpty(listForIsc)) {
|
if (CollUtil.isNotEmpty(listForIsc)) {
|
||||||
devSns = StrUtil.join(",", listForIsc.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
devSns = StrUtil.join(",", listForIsc.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
@ -316,7 +316,7 @@ public class ProjectUfaceConfigServiceImpl extends ServiceImpl<ProjectUfaceConfi
|
|||||||
);
|
);
|
||||||
if (CollUtil.isNotEmpty(notExistList)) {
|
if (CollUtil.isNotEmpty(notExistList)) {
|
||||||
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
notDevSns = StrUtil.join(",", notExistList.stream().map(UfaceDev::getDevSn).collect(Collectors.toList()));
|
||||||
asyncHikvision.projectUfaceConfigService.deletePersonAuth(workerInfo, notDevSns);
|
this.deletePersonAuth(workerInfo, notDevSns);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user