dep.putAll(status.getReadyDependency());
model.setReadyDependencies(dep);
model.setStatus(status.getStatus()==null?null:status.getStatus().getId());
model.setName(jd.getName());
model.setAuto(jd.getAuto());
JobHistory his=jobHisMap.get(jd.getId());
if(his!=null && his.getStartTime()!=null){
SimpleDateFormat format=new SimpleDateFormat("MM-dd HH:mm:ss");
model.setLastStatus(format.format(his.getStartTime())+" "+(his.getStatus()==null?"":his.getStatus().getId()));
}
result.add(model);
}
return new PagingLoadResultBean<JobModel>(result,total,start);