Explorar el Código

菜单

master
yaoq hace 2 años
padre
commit
04e78910b1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar