|
@@ -20,16 +20,6 @@ dbm.connect();
|
|
|
fileUtils.getGlobbedFiles('./modules/all_models/*.js').forEach(function(modelPath) {
|
|
|
require(path.resolve(modelPath));
|
|
|
})
|
|
|
-
|
|
|
-//引入报表模块
|
|
|
-fileUtils.getGlobbedFiles('./modules/reports/models/*.js').forEach(function(modelPath) {
|
|
|
- require(path.resolve(modelPath));
|
|
|
-})
|
|
|
-
|
|
|
-// 引入人工系数模块
|
|
|
-require('./modules/main/models/labour_coe_model');
|
|
|
-require('./modules/main/models/calc_program_model');
|
|
|
-
|
|
|
//config.setupCache();
|
|
|
let cfgCacheUtil = require("./config/cacheCfg");
|
|
|
cfgCacheUtil.setupDftCache();
|