添加菜单加getClientType条件
This commit is contained in:
@@ -149,6 +149,7 @@ public class MenuServiceImpl implements MenuService {
|
||||
query.select(menuDef.ID)
|
||||
.from(menuDef)
|
||||
.eq(MenuEntity::getParentId, req.getParentId())
|
||||
.eq(MenuEntity::getClientType, req.getClientType())
|
||||
.eq(MenuEntity::getMenuName, req.getMenuName());
|
||||
long count = menuMapper.selectCountByQuery(query);
|
||||
if (count > 0) {
|
||||
|
||||
Reference in New Issue
Block a user