Commit 5db6f299 authored by 赵啸非's avatar 赵啸非

修改部分一键部署功能

parent 22ef8ce7
......@@ -239,7 +239,8 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
Set<String> scanKeys = cacheService.scan(KEY_SEARCH_WINDOWID_LIST_CACHE);
for (String scanKey : scanKeys) {
log.info("scanKey:{}", scanKey);
List<String> split = StrUtil.split(scanKey, "#");
String winIds = StrUtil.removePrefixIgnoreCase(scanKey, KEY_SEARCH_WINDOWID_LIST_CACHE);
List<String> split = StrUtil.split(winIds, "#");
List<Long> windowIdlist = split.stream().map(m -> Long.parseLong(m)).collect(Collectors.toList());
if (windowIdlist.contains(windowId)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment