This commit is contained in:
wangliwen 2022-11-01 16:38:49 +08:00
parent 9f3e1a1f5b
commit f6a6dc0302
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ public class ResourceController {
List<Long> ids = jdbcTemplate.queryForList("SELECT id FROM tb_data_resource", Long.class);
ids.forEach(id -> {
ResourceDTO data = resourceService.selectWithAttrs(id);
data.setUpdateDate(new Date());
resourceService.update(data);
});
}, executor);