Bläddra i källkod

新增:打包配置

4.0
FLYPHT 2 år sedan
förälder
incheckning
3a459ed545
1 ändrade filer med 6 tillägg och 3 borttagningar
  1. +6
    -3
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/preview/PreviewMenuTreeService.java

+ 6
- 3
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/preview/PreviewMenuTreeService.java Visa fil

@@ -3,6 +3,7 @@ package cc.smtweb.system.bpm.web.design.preview;
import cc.smtweb.framework.core.annotation.SwParam;
import cc.smtweb.framework.core.annotation.SwService;
import cc.smtweb.framework.core.common.R;
import cc.smtweb.framework.core.common.SwConsts;
import cc.smtweb.framework.core.common.SwEnum;
import cc.smtweb.framework.core.db.DbEngine;
import cc.smtweb.framework.core.db.vo.ModelCatalog;
@@ -31,9 +32,11 @@ public class PreviewMenuTreeService {

public R treeAll(@SwParam("module") String module, UserSession us) {
String prj_id = ModelProjectCache.getInstance().getIdByModule(module);
List<MenuVO> menuVOList = buildMenu(prj_id, module, us);
if (PubUtil.isNotEmpty(menuVOList)) {
return R.success(menuVOList);
if(!SwConsts.SYS_DEBUG){
List<MenuVO> menuVOList = buildMenu(prj_id, module, us);
if (PubUtil.isNotEmpty(menuVOList)) {
return R.success(menuVOList);
}
}
List<ModelForm> listForm;
if (StringUtils.isNotEmpty(prj_id)) {


Laddar…
Avbryt
Spara