...
This commit is contained in:
parent
9f3e1a1f5b
commit
f6a6dc0302
|
@ -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