|
@@ -139,7 +139,7 @@ public class AdminDeptLogic {
|
|
|
AdminDeptWebsit adminDeptWebsit = adminDeptWebsitService.getById(adminDeptWebsitId);
|
|
|
|
|
|
AdminDept adminDept = adminDeptService.getById(adminDeptWebsit.getAdminDeptId());
|
|
|
- if (adminDept.getPId().equals("0"))
|
|
|
+ if (adminDept.getPId().equals("1"))
|
|
|
throw new RemoteServiceException("商户不能删除绑定网点");
|
|
|
|
|
|
adminDeptWebsitService.removeById(adminDeptWebsitId);
|