Commit 8e15b420 authored by 赵啸非's avatar 赵啸非

添加远程调试

parent f2a78f38
...@@ -303,7 +303,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD ...@@ -303,7 +303,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
Map<Long, DatumCategoryEntity> collect = datumCategoryService.find(datumCategoryQuery).stream().collect(Collectors.toMap(x -> x.getMaterialId(), y -> y, (o, n) -> n)); Map<Long, DatumCategoryEntity> collect = datumCategoryService.find(datumCategoryQuery).stream().collect(Collectors.toMap(x -> x.getMaterialId(), y -> y, (o, n) -> n));
list.stream().forEach(entity -> { list.stream().forEach(entity -> {
if (!ObjectUtils.isEmpty(collect)) { if (!ObjectUtils.isEmpty(collect)) {
DatumCategoryEntity datumCategoryEntity = collect.get(entity.getMatterId()); DatumCategoryEntity datumCategoryEntity = collect.get(entity.getId());
if (!ObjectUtils.isEmpty(datumCategoryEntity)) { if (!ObjectUtils.isEmpty(datumCategoryEntity)) {
entity.setCategoryId(datumCategoryEntity.getCategoryId()); entity.setCategoryId(datumCategoryEntity.getCategoryId());
entity.setCategoryName(datumCategoryEntity.getCategoryName()); entity.setCategoryName(datumCategoryEntity.getCategoryName());
......
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