package weaver.interfaces.zjrb.job;

import weaver.general.BaseBean;
import weaver.general.TimeUtil;
import weaver.integration.cache.OfsSysInfoCacheNew;
import weaver.interfaces.schedule.BaseCronJob;
import weaver.ofs.service.OfsSysInfoService;

public class HrmSyn_E92E7_Time_Job extends BaseCronJob {

    @Override
    public void execute() {

        BaseBean bb = new BaseBean();
        String dataResource = "E92E7_ORG";
        int days = 7;
        HrmSynDaoTime_E92E7 hrmSynDaoTime_E92E7 = new HrmSynDaoTime_E92E7();
        bb.writeLog("组织架构E9同步E7定时任务---START--->", TimeUtil.getCurrentTimeString());
        hrmSynDaoTime_E92E7.syn(days,dataResource);
        bb.writeLog("组织架构E9同步E7定时任务---END--->", TimeUtil.getCurrentTimeString());
    }


}
