mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-09-20 07:25:54 +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 {
|
||||
List<Map<String, String>> list = new ArrayList<>();
|
||||
for (Entity e : MetadataSorter.sortEntities()) {
|
||||
// 不返回明细实体
|
||||
if (e.getMasterEntity() != null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Map<String, String> map = new HashMap<>();
|
||||
EasyMeta easy = new EasyMeta(e);
|
||||
map.put("name", e.getName());
|
||||
|
|
Loading…
Reference in a new issue