修复分类添加2级分类报错
This commit is contained in:
@ -167,7 +167,7 @@ public class YxStoreCategoryServiceImpl extends BaseServiceImpl<StoreCategoryMap
|
||||
}
|
||||
YxStoreCategory yxStoreCategory = this.getOne(Wrappers.<YxStoreCategory>lambdaQuery()
|
||||
.eq(YxStoreCategory::getId,pid));
|
||||
return yxStoreCategory.getPid() < 0;
|
||||
return yxStoreCategory.getPid() <= 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user