From f6a6dc0302eaf11c039b3d1af29a65059f29f0fc Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 1 Nov 2022 16:38:49 +0800 Subject: [PATCH] ... --- .../renren/modules/resource/controller/ResourceController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java b/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java index c6f02a0c..b4b2b930 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/controller/ResourceController.java @@ -203,6 +203,7 @@ public class ResourceController { List 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);