Переглянути джерело

客户跟进自己客户BUG修复

anderx 6 роки тому
батько
коміт
3c94cd63a4

+ 1 - 1
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -512,7 +512,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,""));
 					}