fuliqi
2025-02-10 db75b45e9a7ce347162b8d3a36e4a7f46cfe199e
ycl-pojo/src/main/java/com/ycl/platform/domain/query/DataCenterQuery.java
@@ -3,6 +3,7 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.platform.base.AbsQuery;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import utils.DateUtils;
import java.util.Date;
@@ -18,6 +19,7 @@
@Data
public class DataCenterQuery extends AbsQuery {
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    /** 开始时间 */
@@ -40,8 +42,10 @@
    /** 1 视频 2 车辆 3 人脸 */
    private Integer deviceType;
    /** 下拉框 */
    private Integer option;
    /** 考核状态 */
    private Integer examineStatus;
    public void setTime() {
        if (Objects.nonNull(this.date)) {
            this.startTime = DateUtils.getDayStart(this.date);