package weaver.interfaces.zw.cron;

import weaver.conn.RecordSet;
import weaver.general.BaseBean;
import weaver.interfaces.schedule.BaseCronJob;

public class EmployeeDataSnapshotDayCron extends BaseCronJob {
    @Override
    public void execute() {
        updateEmployeeSnapshot();
    }
    public void updateEmployeeSnapshot(){
        RecordSet rs = new RecordSet();
        BaseBean bb = new BaseBean();
        try{
            boolean istrue = rs.executeProc("HR_RYKZ_Day","");
            bb.writeLog("EmployeeDataSnapshotDayCron:"+istrue);
        }catch (Exception e){
            bb.writeLog("EmployeeDataSnapshotDayCron:"+e);
        }
    }
}
