mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-09-20 15:35:55 +08:00
Update MetadataGet.java
This commit is contained in:
parent
eb8516366a
commit
65888a52d0
|
@ -56,6 +56,11 @@ public class MetadataGet extends BaseControll {
|
||||||
public void entities(HttpServletRequest request, HttpServletResponse response) throws IOException {
|
public void entities(HttpServletRequest request, HttpServletResponse response) throws IOException {
|
||||||
List<Map<String, String>> list = new ArrayList<>();
|
List<Map<String, String>> list = new ArrayList<>();
|
||||||
for (Entity e : MetadataSorter.sortEntities()) {
|
for (Entity e : MetadataSorter.sortEntities()) {
|
||||||
|
// 不返回明细实体
|
||||||
|
if (e.getMasterEntity() != null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
Map<String, String> map = new HashMap<>();
|
Map<String, String> map = new HashMap<>();
|
||||||
EasyMeta easy = new EasyMeta(e);
|
EasyMeta easy = new EasyMeta(e);
|
||||||
map.put("name", e.getName());
|
map.put("name", e.getName());
|
||||||
|
|
Loading…
Reference in a new issue