diff --git a/yudao-module-bpm/yudao-module-bpm-base/src/main/java/cn/iocoder/yudao/module/bpm/service/message/dto/BpmMessageSendWhenTaskCreatedReqDTO.java b/yudao-module-bpm/yudao-module-bpm-base/src/main/java/cn/iocoder/yudao/module/bpm/service/message/dto/BpmMessageSendWhenTaskCreatedReqDTO.java index bf9528f66..7cb0e3d70 100644 --- a/yudao-module-bpm/yudao-module-bpm-base/src/main/java/cn/iocoder/yudao/module/bpm/service/message/dto/BpmMessageSendWhenTaskCreatedReqDTO.java +++ b/yudao-module-bpm/yudao-module-bpm-base/src/main/java/cn/iocoder/yudao/module/bpm/service/message/dto/BpmMessageSendWhenTaskCreatedReqDTO.java @@ -21,7 +21,7 @@ public class BpmMessageSendWhenTaskCreatedReqDTO { */ @NotEmpty(message = "流程实例的名字不能为空") private String processInstanceName; - @NotEmpty(message = "发起人的用户编号") + @NotNull(message = "发起人的用户编号") private Long startUserId; @NotEmpty(message = "发起人的昵称") private String startUserNickname; diff --git a/yudao-module-pay/yudao-module-pay-impl/src/main/java/cn/iocoder/yudao/module/pay/controller/app/refund/vo/AppPayRefundReqVO.java b/yudao-module-pay/yudao-module-pay-impl/src/main/java/cn/iocoder/yudao/module/pay/controller/app/refund/vo/AppPayRefundReqVO.java index c810f3829..627874561 100644 --- a/yudao-module-pay/yudao-module-pay-impl/src/main/java/cn/iocoder/yudao/module/pay/controller/app/refund/vo/AppPayRefundReqVO.java +++ b/yudao-module-pay/yudao-module-pay-impl/src/main/java/cn/iocoder/yudao/module/pay/controller/app/refund/vo/AppPayRefundReqVO.java @@ -7,6 +7,7 @@ import lombok.Data; import lombok.NoArgsConstructor; import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; @ApiModel("用户 APP - 退款订单 Req VO") @Data @@ -15,11 +16,11 @@ import javax.validation.constraints.NotEmpty; public class AppPayRefundReqVO { @ApiModelProperty(value = "支付订单编号自增", required = true, example = "10") - @NotEmpty(message = "支付订单编号自增") + @NotNull(message = "支付订单编号自增") private Long payOrderId; @ApiModelProperty(value = "退款金额", required = true, example = "1") - @NotEmpty(message = "退款金额") + @NotNull(message = "退款金额") private Long amount; @ApiModelProperty(value = "退款原因", required = true, example = "不喜欢")