package weaver.interfaces.zw.cron;

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

public class EmployeeDataSnapshotMonthCron 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","");
            bb.writeLog("EmployeeDataSnapshotMonthCron:"+istrue);
        }catch (Exception e){
            bb.writeLog("EmployeeDataSnapshotMonthCron:"+e);
        }
    }
}
