校验Long类型NotEmpty改为NotNull

This commit is contained in:
zhuqi
2022-02-09 08:57:05 +08:00
parent 37ec560687
commit f0395c450f
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ public class BpmMessageSendWhenTaskCreatedReqDTO {
*/
@NotEmpty(message = "流程实例的名字不能为空")
private String processInstanceName;
@NotEmpty(message = "发起人的用户编号")
@NotNull(message = "发起人的用户编号")
private Long startUserId;
@NotEmpty(message = "发起人的昵称")
private String startUserNickname;