zhang
2026-03-24 d158f45b6ead3c4d89ab5acebae7df8a11007397
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.zy.acs.hex.domain;
 
import lombok.Data;
 
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
 
@Data
public class GenericQuery implements Serializable {
 
        private Map<String, Object> conditions = new HashMap<>(); // 动态查询条件
        private int limit = 100; // 默认返回100条
        private String orderBy = "time"; // 默认按时间排序
        private String orderDirection = "DESC"; // 默认降序
}