新增 ID校验
This commit is contained in:
@@ -33,7 +33,6 @@ public class MkShopConsumerCouponDTO implements Serializable {
|
||||
/**
|
||||
* 自增主键
|
||||
*/
|
||||
@Null(message = "ID必须为空", groups = InsertGroup.class)
|
||||
@NotNull(message = "ID不能为空", groups = UpdateGroup.class)
|
||||
private Long id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user