1、重构代码将数据处理全部交给 repository 来操作

2、升级支持免 Db启动提供服务
This commit is contained in:
2019-04-26 20:04:52 +08:00
parent 9a38d69eb0
commit ff240dd3ea
17 changed files with 350 additions and 212 deletions

View File

@@ -1,7 +1,6 @@
package net.tccn.service;
import com.arangodb.Predicate;
import net.tccn.base.FileKit;
import net.tccn.base.MetaKit;
import net.tccn.base.TplKit;
import org.redkale.convert.json.JsonConvert;
@@ -56,9 +55,6 @@ public class BaseService implements Service {
@Resource(name = "APP_HOME")
protected File APP_HOME;
@Resource(name = "property.tplPath")
private String tplPath;
public static Properties prop = new Properties();
protected static TplKit tplKit = TplKit.use(true);
@@ -78,7 +74,7 @@ public class BaseService implements Service {
try {
if (!tplInit) {
tplInit = true;
tplKit.addTpl(new File(FileKit.rootPath(), tplPath));
//tplKit.addTpl(new File(FileKit.rootPath(), tplPath));
}
} catch (Exception e) {
e.printStackTrace();