Commit 6579240f authored by jim's avatar jim

0

parent e376761d
...@@ -600,9 +600,9 @@ public class IpResourceServiceImpl implements IpResourceService { ...@@ -600,9 +600,9 @@ public class IpResourceServiceImpl implements IpResourceService {
// 已分配 // 已分配
ipResources = ipResourceRepository.findShopIdInList(shopIds, false); ipResources = ipResourceRepository.findShopIdInList(shopIds, false);
if (!isParent) if (!isParent)
notUsed = ipResourceRepository.findByOwnerAndStatusInAndIsDeletedAndBind(username, Arrays.asList(2, 4, 8), false, false); notUsed = ipResourceRepository.findByOwnerAndStatusInAndIsDeletedAndBind(username, Arrays.asList(0, 2, 4, 8), false, false);
else else
notUsed = ipResourceRepository.findByOwnerInAndStatusInAndIsDeletedAndBind(children, Arrays.asList(2, 4, 8), false, false); notUsed = ipResourceRepository.findByOwnerInAndStatusInAndIsDeletedAndBind(children, Arrays.asList(0, 2, 4, 8), false, false);
break; break;
} }
if (notUsed != null) if (notUsed != null)
......
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