fix(system): 修正禁用过期AI账号任务中的字段名错误
This commit is contained in:
@@ -43,7 +43,7 @@ public class DisableWebAIExpiredAccount implements JobHandler{
|
||||
public String execute(String param) throws Exception {
|
||||
Long tenantId = TenantContextHolder.getTenantId();
|
||||
TenantDO tenant = tenantMapper.selectById(tenantId);
|
||||
if (tenant.getExpireTime()!=null) {
|
||||
if (tenant.getAiExpireTime()!=null) {
|
||||
Duration brotherDuration = LocalDateTimeUtil.between(tenant.getAiExpireTime(), LocalDateTime.now());
|
||||
long minutes = brotherDuration.toMinutes();
|
||||
LambdaQueryWrapper<AdminUserDO> aiUserQueryWrapper = new LambdaQueryWrapper<>();
|
||||
|
||||
Reference in New Issue
Block a user