Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
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
西魏
cms_sys
Commits
e29f3ced
Commit
e29f3ced
authored
Oct 21, 2021
by
mingsoft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
栏目修改子节点修复
parent
40f637d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CategoryAction.java
src/main/java/net/mingsoft/cms/action/CategoryAction.java
+1
-1
No files found.
src/main/java/net/mingsoft/cms/action/CategoryAction.java
View file @
e29f3ced
...
@@ -290,7 +290,7 @@ public class CategoryAction extends BaseAction {
...
@@ -290,7 +290,7 @@ public class CategoryAction extends BaseAction {
CategoryEntity
_category
=
new
CategoryEntity
();
CategoryEntity
_category
=
new
CategoryEntity
();
_category
.
setId
(
category
.
getId
());
_category
.
setId
(
category
.
getId
());
List
<
CategoryEntity
>
categoryList
=
categoryBiz
.
queryChildren
(
_category
);
List
<
CategoryEntity
>
categoryList
=
categoryBiz
.
queryChildren
(
_category
);
if
(
categoryList
.
size
()>
0
)
{
if
(
categoryList
.
size
()>
1
)
{
for
(
CategoryEntity
item:
categoryList
){
for
(
CategoryEntity
item:
categoryList
){
if
(
item
.
getId
().
equals
(
category
.
getCategoryId
())){
if
(
item
.
getId
().
equals
(
category
.
getCategoryId
())){
return
ResultData
.
build
().
error
(
getResString
(
"cannot.select.child"
));
return
ResultData
.
build
().
error
(
getResString
(
"cannot.select.child"
));
...
...
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