Commit 0ee0af23 authored by 赵啸非's avatar 赵啸非

添加事项同步数据

parent c6d12ed3
......@@ -28,7 +28,7 @@ public class SiteBusinessServiceImpl extends AbstractCRUDServiceImpl<SiteBusines
@Override
protected void findAfter(SiteBusinessEntity params, Context context, List<SiteBusinessEntity> list) throws AppException {
list.stream().peek(item->{
List<SiteBusinessEntity> childs = this.find(new SiteBusinessQuery().parentId(item.getId()));
List<SiteBusinessEntity> childs = this.find(new SiteBusinessQuery().parentId(item.getBusinessId()));
if(!ObjectUtils.isEmpty(childs)){
item.setChildren(childs);
}else{
......
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