Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
package com.cesgroup.bdc.wdgl.vo;
import cn.hutool.json.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* 文电管理查询条件
*/
@Data
public class ConditionVo implements Serializable {
private static final long serialVersionUID = -7278940954269058324L;
/**
* 类型
*/
private String mailType;
/**
* 密级
*/
private String safeLevel;
/**
* 紧急度
*/
private String emergency;
/**
* 有效时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date effDateBegin;
/**
* 有效时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date effDateEnd;
/**
* 发送时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date sendTimeBegin;
/**
* 发送时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date sendTimeEnd;
/**
* 电文状态
*/
private String mailStatus;
/**
* 发送单位
*/
private String sendDept;
/**
* 自动下载
*/
private String autoDownload;
/**
* 发文号
*/
private String mailNo;
/**
* 标题
*/
private String mailTitle;
/**
* 签收时间-开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date receiveDateBegin;
/**
* 签收时间-结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date receiveDateEnd;
/**
* 接收单位
*/
private String receiveDept;
/**
* 归类统计
*/
private String statistics;
/**
* 附件全文检索
*/
private String fileKeyWord;
/**
* 默认:查询本人,all:查询所有人
*/
private String flag;
private String descs;
private String ascs;
private String order;
private String receiveDeptId;
private String sendUserId;
private String originalName;//查询附件名时用
@Override
public String toString() {
JSONObject jsonObject = new JSONObject(this);
jsonObject.setDateFormat("yyyy-MM-dd HH:mm:ss");
return jsonObject.toString();
}
public static void main(String[] args) {
ConditionVo cv = new ConditionVo();
cv.setAutoDownload("1");
cv.setEmergency("平急");
cv.setEffDateBegin(new Date());
System.out.println(cv.toString());
}
}