Merge branch 'master' into docker_package
This commit is contained in:
commit
b9e8d8daec
|
@ -203,6 +203,7 @@ public class ResourceController {
|
||||||
List<Long> ids = jdbcTemplate.queryForList("SELECT id FROM tb_data_resource", Long.class);
|
List<Long> ids = jdbcTemplate.queryForList("SELECT id FROM tb_data_resource", Long.class);
|
||||||
ids.forEach(id -> {
|
ids.forEach(id -> {
|
||||||
ResourceDTO data = resourceService.selectWithAttrs(id);
|
ResourceDTO data = resourceService.selectWithAttrs(id);
|
||||||
|
data.setUpdateDate(new Date());
|
||||||
resourceService.update(data);
|
resourceService.update(data);
|
||||||
});
|
});
|
||||||
}, executor);
|
}, executor);
|
||||||
|
|
Loading…
Reference in New Issue