Browse Source

默认非debug

4.0
lip 2 years ago
parent
commit
1c990db0ce
2 changed files with 4 additions and 5 deletions
  1. +3
    -4
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/listcard/mastersub/LCMsLoadHandler.java
  2. +1
    -1
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/common/SwConsts.java

+ 3
- 4
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/model/listcard/mastersub/LCMsLoadHandler.java View File

@@ -3,9 +3,8 @@ package cc.smtweb.system.bpm.web.engine.model.listcard.mastersub;
import cc.smtweb.framework.core.common.R; import cc.smtweb.framework.core.common.R;
import cc.smtweb.framework.core.common.SwMap; import cc.smtweb.framework.core.common.SwMap;
import cc.smtweb.system.bpm.web.engine.dynPage.DynRetBean; import cc.smtweb.system.bpm.web.engine.dynPage.DynRetBean;
import cc.smtweb.system.bpm.web.engine.model.listcard.ModelUtils;
import cc.smtweb.system.bpm.web.engine.model.listcard.abshandler.AbsLoadHandler; import cc.smtweb.system.bpm.web.engine.model.listcard.abshandler.AbsLoadHandler;
import cc.smtweb.system.bpm.web.engine.model.listcard.single.LCSingleHelper;

/** /**
* @Author:lip * @Author:lip
* @Date : 2022/8/28 21:44 * @Date : 2022/8/28 21:44
@@ -17,7 +16,7 @@ public class LCMsLoadHandler extends AbsLoadHandler {
*/ */
public R mAdd() { public R mAdd() {
SwMap data = doAdd(LCMsDefine.dsMCard); SwMap data = doAdd(LCMsDefine.dsMCard);
return R.success(LCSingleHelper.buildRetData(LCMsDefine.dsMCard, data));
return R.success(ModelUtils.buildRetData(LCMsDefine.dsMCard, data));
} }


/** /**
@@ -26,7 +25,7 @@ public class LCMsLoadHandler extends AbsLoadHandler {
*/ */
public R mLoad() { public R mLoad() {
SwMap bean = doLoadCard(LCMsDefine.dsMCard); SwMap bean = doLoadCard(LCMsDefine.dsMCard);
return R.success(LCSingleHelper.buildRetData(LCMsDefine.dsMCard, bean));
return R.success(ModelUtils.buildRetData(LCMsDefine.dsMCard, bean));
} }


/** /**


+ 1
- 1
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/common/SwConsts.java View File

@@ -6,7 +6,7 @@ package cc.smtweb.framework.core.common;
public interface SwConsts { public interface SwConsts {
class SysParam { class SysParam {
//开发调试模式 //开发调试模式
public static boolean SYS_DEBUG = true;
public static boolean SYS_DEBUG = false;
//系统启动完成 //系统启动完成
public static boolean SYS_STARTED = false; public static boolean SYS_STARTED = false;
//运行的项目,多个用半角逗号分隔 //运行的项目,多个用半角逗号分隔


Loading…
Cancel
Save