Parcourir la source

菜单

master
yaoq il y a 2 ans
Parent
révision
04e78910b1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/preview/PreviewMenuTreeService.java

+ 2
- 2
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/design/preview/PreviewMenuTreeService.java Voir le fichier

@@ -29,10 +29,10 @@ public class PreviewMenuTreeService {
@SwParam
private DbEngine dbEngine;

public R treeAll(@SwParam("module") String module, @SwParam("type") int type, UserSession us) {
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 (type == 1 && PubUtil.isNotEmpty(menuVOList)) {
if (PubUtil.isNotEmpty(menuVOList)) {
return R.success(menuVOList);
}
List<ModelForm> listForm;


Chargement…
Annuler
Enregistrer