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
| package com.chinaztt.mes.common.util.easyexcel;
|
| import lombok.Getter;
|
| /**
| * 异常信息枚举
| * @auther Zou, Yu
| * @create 2023-09-24
| */
| @Getter
| public enum ResponseResultEnum {
| EXCEL_FILE_EXT_ERROR(1000,"文件格式错误"),
| EXCEL_FILE_READ_FAIL(1001,"excel文件读取失败,请检查模板!"),
| EXCEL_FILE_IS_EMPTY(1002,"excel文件为空"),
| MODEL_FILE_NOT_EXIT(1003,"模版文件不存在"),
| EXCEL_ACTIVE_DATE_ERROR(1004,"生效时间错误"),
| EXCEL_MODEL_ERROR(1005,"导入模板有误,请检查!"),
| EXCEL_FILE_EXCESS(1006,"批量导入数据量不可超过500条");
|
| private Integer status;
| private String message;
|
| ResponseResultEnum(Integer status, String message) {
| this.status = status;
| this.message = message;
| }
|
| }
|
|