Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
e2a3f54b
Commit
e2a3f54b
authored
Nov 17, 2020
by
ilal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
ceda8764
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
src/main/java/cn/timer/api/controller/qyzx/QyzxController.java
+12
-8
No files found.
src/main/java/cn/timer/api/controller/qyzx/QyzxController.java
View file @
e2a3f54b
...
...
@@ -560,18 +560,22 @@ public class QyzxController {
@PostMapping
(
value
=
"/menustructure"
)
@ApiOperation
(
value
=
"菜单结构"
,
httpMethod
=
"POST"
,
notes
=
""
)
public
Result
<
Object
>
menustructure
(
@CurrentUser
UserBean
userBean
,
@RequestBody
QyzxAdminMenu
qymu
)
{
public
Result
<
Object
>
menustructure
(
@CurrentUser
UserBean
userBean
,
@RequestBody
List
<
QyzxAdminMenu
>
qymu
)
{
QyzxAdminMenu
.
builder
().
build
().
delete
(
new
QueryWrapper
<
QyzxAdminMenu
>().
lambda
().
eq
(
QyzxAdminMenu:
:
getOrgCode
,
userBean
.
getOrgCode
()));
QyzxAdminMenu
meu
=
QyzxAdminMenu
.
builder
().
build
();
meu
.
setMenuCode
(
qymu
.
getMenuCode
());
meu
.
setMenuName
(
qymu
.
getMenuName
());
meu
.
setSortNumber
(
qymu
.
getSortNumber
());
meu
.
setOrgCode
(
userBean
.
getOrgCode
());
meu
.
setAddtime
(
new
Date
().
getTime
());
for
(
QyzxAdminMenu
me
:
qymu
)
{
QyzxAdminMenu
meu
=
QyzxAdminMenu
.
builder
().
build
();
meu
.
setMenuCode
(
me
.
getMenuCode
());
meu
.
setMenuName
(
me
.
getMenuName
());
meu
.
setSortNumber
(
me
.
getSortNumber
());
meu
.
setOrgCode
(
userBean
.
getOrgCode
());
meu
.
setAddtime
(
new
Date
().
getTime
());
meu
.
insert
();
}
return
ResultUtil
.
data
(
me
u
,
"修改成功"
);
return
ResultUtil
.
data
(
qym
u
,
"修改成功"
);
}
...
...
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