1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package org.jeecg.common.constant;
|
| /**
| * 第三方集成接口对接类型
| */
| public enum ApiLogCategoryEnum {
| SAP, //SAP接口对接
| WMS, //WMS接口对接
| FEI_SHU, //飞书接口对接
| ;
|
| public static ApiLogCategoryEnum getInstance(String code) {
| ApiLogCategoryEnum[] values = ApiLogCategoryEnum.values();
| for (ApiLogCategoryEnum value : values) {
| if (value.name().equals(code)) {
| return value;
| }
| }
| return null;
| }
| }
|
|