Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
c53d45d5
Commit
c53d45d5
authored
Jun 15, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增代码平台服务
parent
a7ec19d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
MenuController.java
...u.cloud.plus.v1/yifu/admin/controller/MenuController.java
+2
-0
No files found.
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/controller/MenuController.java
View file @
c53d45d5
...
@@ -133,6 +133,7 @@ public class MenuController {
...
@@ -133,6 +133,7 @@ public class MenuController {
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
sysMenu
.
getType
())){
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
sysMenu
.
getType
())){
SysMenu
sm
=
sysMenuService
.
getOne
(
Wrappers
.<
SysMenu
>
query
().
lambda
()
SysMenu
sm
=
sysMenuService
.
getOne
(
Wrappers
.<
SysMenu
>
query
().
lambda
()
.
eq
(
SysMenu:
:
getName
,
sysMenu
.
getName
())
.
eq
(
SysMenu:
:
getName
,
sysMenu
.
getName
())
.
eq
(
SysMenu:
:
getType
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysMenu:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
));
.
eq
(
SysMenu:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
));
if
(
Common
.
isNotNull
(
sm
)){
if
(
Common
.
isNotNull
(
sm
)){
return
R
.
failed
(
MsgUtils
.
getMessage
(
ErrorCodes
.
SYS_MENU_ADD_NAME_EXIST
));
return
R
.
failed
(
MsgUtils
.
getMessage
(
ErrorCodes
.
SYS_MENU_ADD_NAME_EXIST
));
...
@@ -166,6 +167,7 @@ public class MenuController {
...
@@ -166,6 +167,7 @@ public class MenuController {
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
sysMenu
.
getType
())){
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
sysMenu
.
getType
())){
SysMenu
sm
=
sysMenuService
.
getOne
(
Wrappers
.<
SysMenu
>
query
().
lambda
()
SysMenu
sm
=
sysMenuService
.
getOne
(
Wrappers
.<
SysMenu
>
query
().
lambda
()
.
eq
(
SysMenu:
:
getName
,
sysMenu
.
getName
())
.
eq
(
SysMenu:
:
getName
,
sysMenu
.
getName
())
.
eq
(
SysMenu:
:
getType
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysMenu:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysMenu:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
ne
(
SysMenu:
:
getMenuId
,
sysMenu
.
getMenuId
()));
.
ne
(
SysMenu:
:
getMenuId
,
sysMenu
.
getMenuId
()));
if
(
Common
.
isNotNull
(
sm
)){
if
(
Common
.
isNotNull
(
sm
)){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment