zhuhaiwen 3 years ago
parent
commit
f1eaf83357

+ 12 - 10
oa-app/src/main/java/com/css/oa/exam/report/bean/PRPExcelEntity.java

2
2
3
import cn.afterturn.easypoi.excel.annotation.Excel;
3
import cn.afterturn.easypoi.excel.annotation.Excel;
4
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
4
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
5
import lombok.Data;
5
6
7
@Data
6
@ExcelTarget("deptUtil")
8
@ExcelTarget("deptUtil")
7
public class PRPExcelEntity {
9
public class PRPExcelEntity {
8
10
9
    @Excel(name = "考场", width = 30, needMerge = true)
11
    @Excel(name = "考场", width = 20)
10
    private String room_name;
12
    private String room_name;
11
13
12
    @Excel(name = "姓名", width = 30, needMerge = true)
14
    @Excel(name = "姓名")
13
    private String name;
15
    private String name;
14
16
15
    @Excel(name = "身份证", width = 30, needMerge = true)
17
    @Excel(name = "身份证", width = 20)
16
    private String card_num;
18
    private String card_num;
17
19
18
    @Excel(name = "准考证", width = 30, needMerge = true)
20
    @Excel(name = "准考证")
19
    private String adm_num;
21
    private String adm_num;
20
22
21
    @Excel(name = "座位号", width = 30, needMerge = true)
23
    @Excel(name = "座位号")
22
    private String seat_num;
24
    private String seat_num;
23
25
24
    @Excel(name = "报考系列", width = 30, needMerge = true)
26
    @Excel(name = "报考系列", width = 15)
25
    private String series_name;
27
    private String series_name;
26
28
27
    @Excel(name = "报考级别", width = 30, needMerge = true)
29
    @Excel(name = "报考级别")
28
    private String level_name;
30
    private String level_name;
29
31
30
    @Excel(name = "报考科目", width = 30, needMerge = true)
32
    @Excel(name = "报考科目", width = 15)
31
    private String subject_name;
33
    private String subject_name;
32
34
33
    @Excel(name = "照片", width = 30, needMerge = true)
35
    @Excel(name = "照片", width = 15)
34
    private String pic;
36
    private String pic;
35
37
36
    @Excel(name = "签名", width = 30, needMerge = true)
38
    @Excel(name = "签名", width = 15)
37
    private String autograph;
39
    private String autograph;
38
40
39
//    @ExcelCollection(name = "员工信息")
41
//    @ExcelCollection(name = "员工信息")

+ 3 - 6
oa-app/src/main/java/com/css/oa/exam/report/bean/PRPExportReq.java

9
9
10
    public String exam_id;
10
    public String exam_id;
11
11
12
    public int curPage;
13
14
    public int pageSize;
15
16
    //key value
17
    public List<ExportDTO> dtos = new ArrayList<>();
12
//    public int curPage;
13
//
14
//    public int pageSize;
18
15
19
}
16
}