Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-11-01 16:39:02 +08:00
commit b9e8d8daec
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);