This commit is contained in:
dinggang 2022-12-15 16:43:19 +08:00
parent 38bd349887
commit d403b27c5f
2 changed files with 2 additions and 2 deletions

View File

@ -287,8 +287,8 @@ public class MonitorController {
"&start=" + start +
"&end=" + end +
"&step=" + step;
ResponseEntity<HashMap> entity = restTemplate.getForEntity(url, HashMap.class, query);
HashMap body = entity.getBody();
HashMap data = (HashMap) body.get("data");
if (data != null) {

View File

@ -2874,7 +2874,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
sb.append(" AND apply.\"resourceName\" LIKE '%" + params.get("resourceName").toString() + "%'");
}
sb.append(" ORDER BY apply.\"createDate\" DESC");
List<Map<String, Object>> list = null;
List<Map<String, Object>> list = new ArrayList<>();
try {
list = lcJdbcTemplate.queryForList(sb.toString());
} catch (DataAccessException e) {