Bladeren bron

默认非debug

4.0
lip 2 jaren geleden
bovenliggende
commit
1c990db0ce
2 gewijzigde bestanden met toevoegingen van 4 en 5 verwijderingen
  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 Bestand weergeven

@@ -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.SwMap;
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.single.LCSingleHelper;

/**
* @Author:lip
* @Date : 2022/8/28 21:44
@@ -17,7 +16,7 @@ public class LCMsLoadHandler extends AbsLoadHandler {
*/
public R mAdd() {
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() {
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 Bestand weergeven

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


Laden…
Annuleren
Opslaan