Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
aserver
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
15所TongWeb
aserver
Commits
6c77f63e
Commit
6c77f63e
authored
Dec 24, 2020
by
张龙发
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单加星修复
parent
7983983a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
MenuController.java
...n/java/com/archser/aserver/controller/MenuController.java
+2
-1
No files found.
src/main/java/com/archser/aserver/controller/MenuController.java
View file @
6c77f63e
...
@@ -20,6 +20,7 @@ import com.jfinal.aop.Inject;
...
@@ -20,6 +20,7 @@ import com.jfinal.aop.Inject;
import
com.jfinal.core.Controller
;
import
com.jfinal.core.Controller
;
import
com.jfinal.kit.Kv
;
import
com.jfinal.kit.Kv
;
import
com.jfinal.kit.Ret
;
import
com.jfinal.kit.Ret
;
import
com.jfinal.kit.StrKit
;
import
com.jfinal.plugin.activerecord.Db
;
import
com.jfinal.plugin.activerecord.Db
;
/**
/**
...
@@ -160,7 +161,7 @@ public class MenuController extends Controller {
...
@@ -160,7 +161,7 @@ public class MenuController extends Controller {
*/
*/
private
Integer
exist
(
Integer
menuId
,
List
<
MenuStar
>
stars
)
{
private
Integer
exist
(
Integer
menuId
,
List
<
MenuStar
>
stars
)
{
for
(
MenuStar
star
:
stars
)
{
for
(
MenuStar
star
:
stars
)
{
if
(
menuId
.
intValue
()
==
star
.
getMenuId
().
intValue
(
))
{
if
(
StrKit
.
equals
(
menuId
.
toString
(),
star
.
getMenuId
().
toString
()
))
{
return
star
.
getId
();
return
star
.
getId
();
}
}
}
}
...
...
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