Commit 1d97563d by guojuxing

第一层级应用的menu_code调整

parent 45663a6a
...@@ -987,6 +987,7 @@ public class MenuApiServiceImpl implements MenuApiService { ...@@ -987,6 +987,7 @@ public class MenuApiServiceImpl implements MenuApiService {
MenuDTO menuDTO = new MenuDTO(); MenuDTO menuDTO = new MenuDTO();
menuDTO.setMenuName(app.getName()); menuDTO.setMenuName(app.getName());
menuDTO.setProject(app.getApplicationId().toString()); menuDTO.setProject(app.getApplicationId().toString());
menuDTO.setMenuCode("noParentCode-" + System.currentTimeMillis());
setMenuVersion(app.getPropDTOList(), app.getServeExpanList(), menuDTO); setMenuVersion(app.getPropDTOList(), app.getServeExpanList(), menuDTO);
// setMenuAuthType(menuDTO); // setMenuAuthType(menuDTO);
setNormalFieldValue(menuDTO); setNormalFieldValue(menuDTO);
...@@ -995,7 +996,6 @@ public class MenuApiServiceImpl implements MenuApiService { ...@@ -995,7 +996,6 @@ public class MenuApiServiceImpl implements MenuApiService {
//好办小程序应用生成一份和好办应用同样的数据 //好办小程序应用生成一份和好办应用同样的数据
if (!isGicApp) { if (!isGicApp) {
menuDTO.setPlatformType(MenuPlatformTypeEnum.HAOBAN_APPLET_APP.getCode()); menuDTO.setPlatformType(MenuPlatformTypeEnum.HAOBAN_APPLET_APP.getCode());
menuDTO.setMenuCode("noParentCode-" + System.currentTimeMillis());
menuService.savePage(menuDTO); menuService.savePage(menuDTO);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment