Merge branch 'dev'

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