Commit 486fb9ef by zhiwj

Merge branch 'developer' of http://115.159.76.241/base_platform_enterprise/gic-store into developer

parents 9c98febb 5989713e
......@@ -283,6 +283,9 @@ public class StoreGroupApiServiceImpl implements StoreGroupApiService {
if (isContainStore(storeGroupId)) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "该分组下存在门店,不能删除");
}
if (storeGroupService.isLeafNode(storeGroupId)) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "下面有子分组,不能删除");
}
ServiceResponse<TabStoreGroup> authValid = validIsDefault(storeGroupId);
if (!authValid.isSuccess()) {
return ServiceResponse.failure(authValid.getCode(), authValid.getMessage());
......
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