| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- package cn.com.lzt.leave.timeTask;
- import java.util.Date;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import cn.com.lzt.leave.service.ModifyServiceI;
- //@Service("modifyTask")
- public class ModifyTask{
-
- // @Autowired
- // private ModifyServiceI modifyService;
- //
- // /**
- // * 离职定时任务
- // */
- // public void modifyApplyLeave(){
- // long start = System.currentTimeMillis();
- // org.jeecgframework.core.util.LogUtil.info("===================离职修改定时任务开始===================");
- // try {
- // System.out.println("===================人事申请-离职申请定时任务开始"+new Date());
- // modifyService.modifyUpdateLeave();
- // System.out.println("===================人事申请-离职申请定时任务结束"+new Date());
- // } catch (Exception e) {
- // }
- // org.jeecgframework.core.util.LogUtil.info("===================离职修改定时任务结束===================");
- // long end = System.currentTimeMillis();
- // long times = end - start;
- // org.jeecgframework.core.util.LogUtil.info("总耗时"+times+"毫秒");
- // }
- //
- // /**
- // * 转正定时任务
- // */
- // public void modifyApplyCorr(){
- // long start = System.currentTimeMillis();
- // org.jeecgframework.core.util.LogUtil.info("===================转正修改定时任务开始===================");
- // try {
- // System.out.println("===================人事申请-转正申请定时任务开始"+new Date());
- // modifyService.modifyUpdateCorr();
- // System.out.println("===================人事申请-转正申请定时任务结束"+new Date());
- // } catch (Exception e) {
- // }
- // org.jeecgframework.core.util.LogUtil.info("===================转正修改定时任务结束===================");
- // long end = System.currentTimeMillis();
- // long times = end - start;
- // org.jeecgframework.core.util.LogUtil.info("总耗时"+times+"毫秒");
- // }
- //
- //
- // /**
- // * 平调调动定时任务
- // */
- // public void modifySameleveltransfer(){
- // long start = System.currentTimeMillis();
- // org.jeecgframework.core.util.LogUtil.info("===================平调调动修改部门定时任务开始===================");
- // try {
- // System.out.println("===================人事申请-调动申请-人事平调定时任务开始"+new Date());
- // modifyService.modifySameleveltransfer();
- // System.out.println("===================人事申请-调动申请-人事平调定时任务结束"+new Date());
- // } catch (Exception e) {
- // }
- // org.jeecgframework.core.util.LogUtil.info("===================平调调动修改部门定时任务结束===================");
- // long end = System.currentTimeMillis();
- // long times = end - start;
- // org.jeecgframework.core.util.LogUtil.info("总耗时"+times+"毫秒");
- // }
- // /**
- // * 升职调动定时任务
- // */
- // public void modifyPromotiontransfer(){
- // long start = System.currentTimeMillis();
- // org.jeecgframework.core.util.LogUtil.info("===================升职调动修改部门定时任务开始===================");
- // try {
- // System.out.println("===================人事申请-调动申请-人事晋升定时任务开始"+new Date());
- // modifyService.modifyPromotiontransfer();
- // System.out.println("===================人事申请-调动申请-人事晋升定时任务结束"+new Date());
- // } catch (Exception e) {
- // }
- // org.jeecgframework.core.util.LogUtil.info("===================升职调动修改部门定时任务结束===================");
- // long end = System.currentTimeMillis();
- // long times = end - start;
- // org.jeecgframework.core.util.LogUtil.info("总耗时"+times+"毫秒");
- // }
- // /**
- // * 降职调动定时任务
- // */
- // public void modifyDemotetransfer(){
- // long start = System.currentTimeMillis();
- // org.jeecgframework.core.util.LogUtil.info("===================降职调动修改部门定时任务开始===================");
- // try {
- // System.out.println("===================人事申请-调动申请-人事降职定时任务开始"+new Date());
- // modifyService.modifyDemotetransfer();
- // System.out.println("===================人事申请-调动申请-人事降职定时任务结束"+new Date());
- // } catch (Exception e) {
- // }
- // org.jeecgframework.core.util.LogUtil.info("===================降职调动修改部门定时任务结束===================");
- // long end = System.currentTimeMillis();
- // long times = end - start;
- // org.jeecgframework.core.util.LogUtil.info("总耗时"+times+"毫秒");
- // }
-
- }
|