|
|
@@ -1336,7 +1336,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
// 查询这个客户是否是登陆人的客户
|
|
|
if (userMapper.getAidAndUser(uid, TokenManager.getAdminId()) <= 0)
|
|
|
throw new BusinessException(new Error("请勿非法操作!", "请勿非法操作!"));
|
|
|
- flag = updateUserLock(uid, oldAid, UserLockReleaseStatus.LOCKED.getCode(),
|
|
|
+ flag = updateUserLock(uid, oldAid, UserLockReleaseStatus.LOCKED.getCode(),
|
|
|
UserLockReleaseStatus.RELEASE.getCode()); // 原用户释放客户
|
|
|
if (flag > 0)
|
|
|
flag = addUserLock(uid,aid, now, uList); // 指定用户锁定客户
|