//package com.njcn.system.timer.tasks;
//
//import cn.hutool.core.date.DatePattern;
//import cn.hutool.core.date.DateUtil;
//import cn.hutool.core.util.StrUtil;
//import com.njcn.device.biz.commApi.CommTerminalGeneralClient;
//import com.njcn.prepare.harmonic.api.upload.DimBusGlobalFeignClient;
//import com.njcn.system.timer.TimerTaskRunner;
//import lombok.RequiredArgsConstructor;
//import org.springframework.stereotype.Component;
//
///**
// * pqs
// *
// * @author cdf
// * @date 2024/4/17
// */
//@Component
//@RequiredArgsConstructor
//public class PmsRunStatisticTaskRunner implements TimerTaskRunner {
//
//    private final DimBusGlobalFeignClient dimBusGlobalFeignClient;
//
//    @Override
//    public void action(String date) {
//        if(StrUtil.isBlank(date)){
//            date = DateUtil.format(DateUtil.yesterday(),DatePattern.NORM_DATE_PATTERN);
//        }
//        dimBusGlobalFeignClient.runLedgerStatistic(date);
//        dimBusGlobalFeignClient.dimBusUpEveryDay(date);
//    }
//}
