fix-维修店登录
This commit is contained in:
@@ -202,7 +202,7 @@ public class LoginServiceImpl implements LoginService {
|
||||
user = userService.getById(systemAdmin.getAppUserId());
|
||||
}
|
||||
Merchant merchant = merchantService.getById(user.getMerId());
|
||||
if (ObjectUtil.isNull(merchant)) {
|
||||
if (ObjectUtil.isNull(merchant) || merchant.getIsDel()) {
|
||||
throw new ServiceException("维修店未创建");
|
||||
}
|
||||
return commonLogin(user, 0);
|
||||
|
||||
Reference in New Issue
Block a user