Commit 978da54e by chamberone

feat: 通用图层返回图层数据

1 parent 35825c65
...@@ -51,10 +51,13 @@ public class BusinessLayerServiceImpl implements BusinessLayerService { ...@@ -51,10 +51,13 @@ public class BusinessLayerServiceImpl implements BusinessLayerService {
private MapBlockInfoDao mapBlockInfoDao; private MapBlockInfoDao mapBlockInfoDao;
@Autowired @Autowired
private EntityManager entityManager; private EntityManager entityManager;
@Autowired
private MapLayerDao mapLayerDao;
@Override @Override
public Result<?> businessLayerUniversal() { public Result<?> businessLayerUniversal() {
return null; List<MapLayerEntity> layers = mapLayerDao.findAll();
return Result.success(layers);
} }
@Override @Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!