Commit 14260ad7 authored by 赵啸非's avatar 赵啸非

添加批量导入

parent 146a4966
......@@ -56,6 +56,7 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
Map<Long, WindowHallEntity> windowHallEntityMap = windowHallService.find(new WindowHallQuery(), context).parallelStream().collect(Collectors.toMap(x -> x.getWindowId(), Function.identity()));
log.info("windowHallEntityMap:{}",JSON.toJSONString(windowHallEntityMap));
Iterator iterator = list.iterator();
while (iterator.hasNext()) {
WindowBusinessEntity item = (WindowBusinessEntity) iterator.next();
......@@ -68,6 +69,8 @@ public class WindowBusinessServiceImpl extends AbstractCRUDServiceImpl<WindowBus
if (!ObjectUtils.isEmpty(windowHallEntity)) {
item.setHallId(windowHallEntity.getHallId());
item.setHallName(windowHallEntity.getHallName());
}else {
log.info("windowhallEntity is null windowId:{}",item.getWindowId());
}
} else {
iterator.remove();
......
......@@ -8,6 +8,9 @@
"portal-test": {
"baseUrl": "http://192.168.0.98:11078/zwfw"
},
"portal-test1": {
"baseUrl": "http://8.136.255.30:11078/zwfw"
},
"portal-yibin": {
"baseUrl": "http://10.12.185.213:11078/zwfw"
},
......
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