|
@@ -250,7 +250,7 @@ public class DistributionSellerServiceImpl extends ServiceImpl<DistributionSelle
|
|
|
}
|
|
}
|
|
|
if (!SecurityUtils.matchesPassword(password,sysUser.getPassword()))
|
|
if (!SecurityUtils.matchesPassword(password,sysUser.getPassword()))
|
|
|
{
|
|
{
|
|
|
- throw new BaseException("");
|
|
|
|
|
|
|
+ throw new CustomException("密码错误");
|
|
|
}
|
|
}
|
|
|
if(Validator.isEmpty(sysUser.getSellerId())){
|
|
if(Validator.isEmpty(sysUser.getSellerId())){
|
|
|
throw new CustomException("非业务员无法登录");
|
|
throw new CustomException("非业务员无法登录");
|
|
@@ -488,7 +488,6 @@ public class DistributionSellerServiceImpl extends ServiceImpl<DistributionSelle
|
|
|
}
|
|
}
|
|
|
user.setUpdateTime(DateUtils.getNowDate());
|
|
user.setUpdateTime(DateUtils.getNowDate());
|
|
|
iSysUserService.updateById(user);
|
|
iSysUserService.updateById(user);
|
|
|
-
|
|
|
|
|
DistributionSeller seller = getOne(new LambdaQueryWrapper<DistributionSeller>()
|
|
DistributionSeller seller = getOne(new LambdaQueryWrapper<DistributionSeller>()
|
|
|
.eq(DistributionSeller::getSellerId,bo.getSellerId()));
|
|
.eq(DistributionSeller::getSellerId,bo.getSellerId()));
|
|
|
if(Validator.isNotEmpty(bo.getRealname())){
|
|
if(Validator.isNotEmpty(bo.getRealname())){
|