1、修改Mysql线程池逻辑

2、新增数据表信息查询接口
3、优化前端代码逻辑
4、新增业面业务功能提示信息窗口
This commit is contained in:
2019-04-10 16:32:13 +08:00
parent abc220eb35
commit 9623b70875
50 changed files with 1197 additions and 1195 deletions

View File

@@ -25,6 +25,7 @@ public abstract class Doc<T extends Doc> {
private Set<String> _shows;
private Map _order;
private List<Map> _filters;//[{col, value, expr}]
public String getId() {
return _id;
@@ -194,6 +195,9 @@ public abstract class Doc<T extends Doc> {
if (flipper == null) {
flipper = new Flipper();
}
if (t == null) {
t = (T) this;
}
List<T> list = find(t, flipper.getOffset(), flipper.getLimit());
long count = count(t);
@@ -251,7 +255,7 @@ public abstract class Doc<T extends Doc> {
return (T) collection.getDocument(String.valueOf(key), this.getClass());
}
//ok
// ok todo: 将数据放入回收库
public void delete() {
collection.deleteDocument(getKey());
}