This commit is contained in:
parent
60685c8878
commit
8d44b59fe5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue