fix(system): 修正禁用过期AI账号任务中的字段名错误

This commit is contained in:
2025-12-22 20:30:34 +08:00
parent 6bcb0dd30a
commit 331f23e79b

View File

@@ -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<>();