//package com.njcn.system.timer.tasks;
//
//import cn.hutool.core.date.DatePattern;
//import cn.hutool.core.date.DateUtil;
//import com.njcn.prepare.harmonic.api.liteflow.LiteFlowFeignClient;
//import com.njcn.prepare.harmonic.pojo.bo.BaseParam;
//import com.njcn.system.timer.TimerTaskRunner;
//import lombok.RequiredArgsConstructor;
//import org.springframework.stereotype.Component;
//
///**
// * pqs
// * 每日定时统计河北两级贯通接口主网数据，用于后续定时上送国网
// * @author cdf
// * @date 2024/2/22
// */
//@Component
//@RequiredArgsConstructor
//public class UploadGwOrgAllRunner implements TimerTaskRunner {
//
//    private final LiteFlowFeignClient liteFlowFeignClient;
//
//    @Override
//    public void action(String date) {
//        BaseParam baseParam = new BaseParam();
//        baseParam.setFullChain(true);
//        baseParam.setRepair(false);
//        baseParam.setDataDate(DateUtil.yesterday().toString(DatePattern.NORM_DATE_PATTERN));
//        liteFlowFeignClient.uploadOrgExecutor(baseParam);
//    }
//}
