package com.engine.custom.corn;

import com.engine.custom.corn.util.ReportUtil;
import com.wbi.util.Util;
import weaver.conn.RecordSet;
import weaver.conn.RecordSetDataSource;
import weaver.file.Prop;
import weaver.interfaces.schedule.BaseCronJob;

import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.*;
import java.util.stream.Collectors;

public class YearReportGjcCorn extends BaseCronJob {

    @Override
    public void execute() {
        //     RecordSetDataSource em7rs = new RecordSetDataSource("em7");
        //     RecordSetDataSource emprs = new RecordSetDataSource("emp_msg");
        //     RecordSet rs = new RecordSet();
        //     RecordSet rs2 = new RecordSet();
        //     RecordSet rs3 = new RecordSet();
        //     String roleMember = ReportUtil.getRoleMember(rs);
        //     updateRoleGjc(rs,roleMember);
        //     updateRoleGjc(rs);
    }
    //
    // private void updateRoleGjc(RecordSet rs, String roleMember) {
    //     rs.executeUpdate(" update uf_personreport set gjc = '统筹全局' where ry in ( " + roleMember +  ")" );
    // }
    //
    //
    // private void update
    //
    // public static void main(String[] args) {
    //
    // }
}
