Browse Source

增加SWConsts.debug,是否调试模式,调试模式缓存从数据库加载

4.0
郑根木 2 years ago
parent
commit
58feeeeeef
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/util/CodeGenerator.java

+ 2
- 2
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/util/CodeGenerator.java View File

@@ -24,8 +24,8 @@ public class CodeGenerator {
private final static String KEY_MODEL = "model"; private final static String KEY_MODEL = "model";
private final static String TEMPLATE_JAVA_BEAN = "../java_bean"; private final static String TEMPLATE_JAVA_BEAN = "../java_bean";
private final static String TEMPLATE_JAVA_CACHE = "../java_cache"; private final static String TEMPLATE_JAVA_CACHE = "../java_cache";
private final static String TEMPLATE_JAVA_SERVICE = "java_service";
private final static String TEMPLATE_JS_EVENT = "js_event";
private final static String TEMPLATE_JAVA_SERVICE = "../java_service";
private final static String TEMPLATE_JS_EVENT = "../js_event";
private static CodeGenerator instance = null; private static CodeGenerator instance = null;


private Configuration configuration = null; private Configuration configuration = null;


Loading…
Cancel
Save