mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2025-10-29 01:17:27 +08:00
去除通知保存VO里的不为空验证
This commit is contained in:
@ -12,7 +12,7 @@ import javax.validation.constraints.Size;
|
||||
public class NoticeSaveReqVO {
|
||||
|
||||
@Schema(description = "岗位公告编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
||||
@NotNull(message = "岗位公告编号不能为空")
|
||||
// @NotNull(message = "岗位公告编号不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "小博主")
|
||||
|
||||
Reference in New Issue
Block a user