空指针
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.czg.order.param;
|
||||
|
||||
import com.czg.validator.group.DefaultGroup;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
@@ -33,13 +32,13 @@ public class DataSummaryTradeParam implements Serializable {
|
||||
private LocalDate endDate;
|
||||
/**
|
||||
* 时间范围类型
|
||||
* TODAY, 今天
|
||||
* YESTERDAY, 昨天
|
||||
* LAST_7_DAYS, 最近7天
|
||||
* LAST_30_DAYS,最近30天
|
||||
* THIS_WEEK, 本周
|
||||
* THIS_MONTH 本月
|
||||
* CUSTOM 自定义时间范围
|
||||
* today, 今天
|
||||
* yesterday, 昨天
|
||||
* last_7_days, 最近7天
|
||||
* last_30_days,最近30天
|
||||
* this_week, 本周
|
||||
* this_month 本月
|
||||
* custom 自定义时间范围
|
||||
*/
|
||||
@NotBlank(message = "时间范围类型不能为空")
|
||||
private String rangeType;
|
||||
|
||||
Reference in New Issue
Block a user