|
|
@@ -513,7 +513,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements
|
|
|
}
|
|
|
if(!isBusinessOwner) throw new BusinessException(new Error(ErrorConstants.BUSINESS_ALREADY_LOCKED,businessName,""));
|
|
|
}else{
|
|
|
- if(isUserOwner) throw new BusinessException(new Error(ErrorConstants.CUSTOMER_ALREADY_LOCKED,businessName,""));
|
|
|
+ if(!isUserOwner) throw new BusinessException(new Error(ErrorConstants.CUSTOMER_ALREADY_LOCKED,businessName,""));
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -552,7 +552,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements
|
|
|
}
|
|
|
if(!isBusinessOwner) throw new BusinessException(new Error(ErrorConstants.BUSINESS_ALREADY_LOCKED,businessName,""));
|
|
|
}else{
|
|
|
- if(isUserOwner) throw new BusinessException(new Error(ErrorConstants.CUSTOMER_ALREADY_LOCKED,businessName,""));
|
|
|
+ if(!isUserOwner) throw new BusinessException(new Error(ErrorConstants.CUSTOMER_ALREADY_LOCKED,businessName,""));
|
|
|
}
|
|
|
|
|
|
if(userBusinessMapper.judgeBusiness(fbb.getUid(), ub.getBusinessProjectId(), "")>0){
|