"vscode:/vscode.git/clone" did not exist on "3595f182d11e1e8a1054486549d84fd512449d02"
Commit e29f3ced authored by mingsoft's avatar mingsoft
Browse files

栏目修改子节点修复

parent 40f637d6
...@@ -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"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment