@Override
    public JobPo getJob(String taskTrackerNodeGroup, String taskId) {
        Query<JobPo> query = template.createQuery(JobPo.class);
        query.field("taskId").equal(taskId).
                field("taskTrackerNodeGroup").equal(taskTrackerNodeGroup);
        return query.get();
    }
@author Robert HG (254963746@qq.com) on 5/28/15.
lts-core/src/main/java/com/github/ltsopensource/queue/mongo/MongoCronJobQueue.java