浏览代码

客户跟进自己客户BUG修复

anderx 7 年之前
父节点
当前提交
3c94cd63a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

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