新增 ID校验

This commit is contained in:
wangw 2025-09-12 17:05:50 +08:00
parent 1b111262ad
commit 97fc5a65f4
1 changed files with 0 additions and 1 deletions

View File

@ -33,7 +33,6 @@ public class MkShopConsumerCouponDTO implements Serializable {
/** /**
* 自增主键 * 自增主键
*/ */
@Null(message = "ID必须为空", groups = InsertGroup.class)
@NotNull(message = "ID不能为空", groups = UpdateGroup.class) @NotNull(message = "ID不能为空", groups = UpdateGroup.class)
private Long id; private Long id;