Пример #1
0
 @Override
 public List<Object> queryForList(Map<String, Object> paramMap) {
   paramMap.put(Task.COMPANY_ID, pvgInfo.getCompanyId());
   return jdbcDao.queryForList(Task.SQL_FILE_NAME, "QUERY", paramMap, Task.class);
 }
Пример #2
0
 @Override
 public Integer queryForCount(Map<String, Object> paramMap) {
   paramMap.put(Task.COMPANY_ID, pvgInfo.getCompanyId());
   return jdbcDao.queryForCount(Task.SQL_FILE_NAME, "QUERY_COUNT", paramMap);
 }