package com.njcn.system.timer.tasks;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import com.njcn.common.pojo.exception.BusinessException;
import com.njcn.harmonic.api.UploadGwDataFeignClient;
import com.njcn.harmonic.pojo.param.UploadParam;
import com.njcn.system.service.AuditService;
import com.njcn.system.timer.TimerTaskRunner;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author wr
 * @description
 * @date 2024/1/15 18:15
 */
@Component
@RequiredArgsConstructor
public class UserLogTaskRunner implements TimerTaskRunner {

    private final AuditService auditService;

    @Override
    public void action(String date) {
        auditService.clearHistoryLog();
    }
}
