|
@@ -118,6 +118,9 @@ public class LoginService extends ServiceImpl<PersonnelMapper, Personnel> {
|
|
|
}
|
|
|
//判断登陆人所属的租户是否过期(截止日期与当前时间比较)
|
|
|
if (tenant.getDeadLine() != null && tenant.getDeadLine().compareTo(new Date()) < 0) {
|
|
|
+ //登录日志记录登录是否成功
|
|
|
+ loginRecordVO.setLoginResult("失败");
|
|
|
+ loginRecordService.addLoginRecord(loginRecordVO);
|
|
|
return Response.error(ResponseEnum.TENANT_DEADLINE_ERROR);
|
|
|
}
|
|
|
|