use of com.jeeagile.quartz.vo.AgileQuartzJobInfo in project jeeagile by jeeagile.
the class AgileQuartzJobServiceImpl method selectModel.
@Override
public AgileQuartzJob selectModel(Serializable id) {
AgileQuartzJob agileQuartzJob = this.getById(id);
AgileQuartzJobInfo agileQuartzJobInfo = new AgileQuartzJobInfo();
if (agileQuartzJob != null && agileQuartzJob.isNotEmptyPk()) {
BeanUtils.copyProperties(agileQuartzJob, agileQuartzJobInfo);
agileQuartzJobInfo.setNextTime(AgileCronUtil.getNextTime(agileQuartzJob.getJobCron()));
}
return agileQuartzJobInfo;
}
Aggregations