1、重构代码将数据处理全部交给 repository 来操作
2、升级支持免 Db启动提供服务
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user