Job RowMapper
21222324252627
@SuppressWarnings("unchecked") @Override public List<BatchJob> listAll() { return getNamedJdbcTemplate().query("batchJob.findPage", null, MapUtils.EMPTY_MAP, new BatchJobRowMapper()); }
27282930313233
} @Override public Page<BatchJob> findForPage(ISearch search) { return getNamedJdbcTemplate().queryForPage("batchJob.findPage", search, new BatchJobRowMapper()); }
35363738394041
@Override public BatchJob findByJobId(String jobId) { Map<String, Object> job = new HashMap<String, Object>(); job.put("jobId", jobId); return getNamedJdbcTemplate().queryForObject("batchJob.findById", job, new BatchJobRowMapper()); }