de/backend/src/main/java/io/dataease/controller/request/BaseQueryRequest.java
2021-02-20 10:23:37 +08:00

65 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package io.dataease.controller.request;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
import java.util.Map;
@Getter
@Setter
public class BaseQueryRequest {
private String projectId;
private String name;
private String workspaceId;
private List<String> ids;
private List<String> moduleIds;
private List<String> nodeIds;
/**
* selectAll选择的数据是否是全部数据全部数据是不受分页影响的数据
* filters: 数据状态
* name如果是全部数据那么表格如果历经查询查询参数是什么
* moduleIds 哪些模块的数据
* unSelectIds是否在页面上有未勾选的数据有的话他们的ID是哪些。
* filters/name/moduleIds/unSeelctIds 只在isSelectAllDate为true时需要。为了让程序能明确批量的范围。
*/
/**
* 是否选中所有数据
*/
private boolean selectAll;
/**
* 全选之后取消选中的id
*/
private List<String> unSelectIds;
/**
* 排序条件
*/
private List<OrderRequest> orders;
/**
* 过滤条件
*/
private Map<String, List<String>> filters;
/**
* 高级搜索
*/
private Map<String, Object> combine;
/**
* 要查询的字段
*/
private List<String> selectFields;
}