mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
代码生成支持选择上级菜单
This commit is contained in:
parent
b2d79b62d1
commit
6a84ae42a5
@ -239,7 +239,7 @@ public class VelocityUtils
|
||||
*/
|
||||
public static String getParentMenuId(JSONObject paramsObj)
|
||||
{
|
||||
if (paramsObj.containsKey(GenConstants.PARENT_MENU_ID))
|
||||
if (StringUtils.isNotEmpty(paramsObj) && paramsObj.containsKey(GenConstants.PARENT_MENU_ID))
|
||||
{
|
||||
return paramsObj.getString(GenConstants.PARENT_MENU_ID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user