From 6a8504afd3b3622e66f26ae506f40740c8d44142 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 15 七月 2025 10:01:30 +0800 Subject: [PATCH] 新功能加问题修复 --- multi-system/src/main/java/com/gkhy/exam/system/domain/vo/SysDeptSaveDTOReq.java | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/multi-system/src/main/java/com/gkhy/exam/system/domain/vo/SysDeptSaveDTOReq.java b/multi-system/src/main/java/com/gkhy/exam/system/domain/vo/SysDeptSaveDTOReq.java index 08aea38..280b32e 100644 --- a/multi-system/src/main/java/com/gkhy/exam/system/domain/vo/SysDeptSaveDTOReq.java +++ b/multi-system/src/main/java/com/gkhy/exam/system/domain/vo/SysDeptSaveDTOReq.java @@ -17,6 +17,7 @@ /** 父部门ID */ @ApiModelProperty("主要负责部门ID无就传0") + @NotNull(message = "父部门ID不能为空") private Long parentId; /** 祖级列表 */ @@ -24,7 +25,7 @@ private String ancestors; /** 显示顺序 */ - @ApiModelProperty("显示顺序") + @ApiModelProperty("显示顺序默认0") private Integer orderNum; /** 部门名称 */ @@ -51,7 +52,11 @@ @NotBlank(message = "是否智能分配不能为空") private String responsType; - @ApiModelProperty("负责部门id") - private List<Long> childDeptIds; + @ApiModelProperty("是否管理层0否1是") + @NotBlank(message = "是否管理层0否1是") + private String deptType; + +// @ApiModelProperty("负责部门id") +// private List<Long> childDeptIds; } -- Gitblit v1.9.2