查询菜单报错;

This commit is contained in:
王奎兴
2026-04-16 11:21:27 +08:00
parent eec90b054b
commit b561342bed
@@ -436,7 +436,7 @@ public class MenuApplicationService {
if (CollectionUtil.isNotEmpty(customAuthOrganizations)){
customAuthOrganizations.forEach(e->{
Map<String,String> map = new HashMap<>();
map.put("menuId",e.getMenuId().toString());
map.put("menuId",e.getMenuId() == null ? "" : e.getMenuId().toString());
map.put("tableJson",e.getTableJson());
map.put("formJson",e.getFormJson());
map.put("buttonJson",e.getButtonJson());
@@ -452,7 +452,7 @@ public class MenuApplicationService {
if (CollectionUtil.isNotEmpty(customAuthUserList)){
customAuthUserList.forEach(e->{
Map<String,String> map = new HashMap<>();
map.put("menuId",e.getMenuId().toString());
map.put("menuId",e.getMenuId() == null ? "" : e.getMenuId().toString());
map.put("tableJson",e.getTableJson());
map.put("formJson",e.getFormJson());
map.put("buttonJson",e.getButtonJson());