Commit 582107b6 by 陶光胜

门店保存修改

parent 170a5b83
......@@ -146,7 +146,7 @@ public class StoreGroupServiceImpl implements StoreGroupService{
@Override
public boolean isLeafNode(Integer storeGroupId) {
int count = tabStoreGroupMapper.countByParentId(storeGroupId);
if (count > 0) {
if (count > 1) { //新节点已经创建,所以应该大于1
return false;
} else {
return true;
......
Markdown is supported
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