From 8d44b59fe5732fa2b3328f2178f3a89227b75205 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 25 Apr 2022 14:19:02 +0800 Subject: [PATCH] .. --- .../modules/resource/controller/ResourceController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8be3252b..83a3ea64 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 @@ -126,10 +126,10 @@ public class ResourceController { }) //@RequiresPermissions("resource:resource:save") public Result save(@RequestBody ResourceDTO dto, String source) { - //效验数据 + // 效验数据 ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); if ("f".equals(source)) { - dto.setDelFlag(2); // 来自前端页面 + dto.setDelFlag(2); // 来自前端页面 走审批流程 } resourceService.insertWithAttrs(dto);