Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
e29f3ced
Commit
e29f3ced
authored
Oct 21, 2021
by
mingsoft
Browse files
栏目修改子节点修复
parent
40f637d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/net/mingsoft/cms/action/CategoryAction.java
View file @
e29f3ced
...
...
@@ -290,7 +290,7 @@ public class CategoryAction extends BaseAction {
CategoryEntity
_category
=
new
CategoryEntity
();
_category
.
setId
(
category
.
getId
());
List
<
CategoryEntity
>
categoryList
=
categoryBiz
.
queryChildren
(
_category
);
if
(
categoryList
.
size
()>
0
)
{
if
(
categoryList
.
size
()>
1
)
{
for
(
CategoryEntity
item:
categoryList
){
if
(
item
.
getId
().
equals
(
category
.
getCategoryId
())){
return
ResultData
.
build
().
error
(
getResString
(
"cannot.select.child"
));
...
...
Write
Preview
Supports
Markdown
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