You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
775 B
32 lines
775 B
package com.ynxbd.common.action.pay;
|
|
|
|
import lombok.ToString;
|
|
|
|
@ToString
|
|
public enum PQREnum {
|
|
NO("匹配失败", "zero", ""),
|
|
|
|
// ------------------------------------
|
|
OUT_COLLECT("外采", "out_collect", "OC"),
|
|
CASEBOOK("病例", "casebook", "CB");
|
|
|
|
public final String NAME;
|
|
public final String CODE;
|
|
public final String ORDER_CODE;
|
|
|
|
PQREnum(String NAME, String CODE, String ORDER_CODE) {
|
|
this.NAME = NAME;
|
|
this.CODE = CODE;
|
|
this.ORDER_CODE = ORDER_CODE;
|
|
}
|
|
|
|
public static PQREnum toEnum(String callNo) {
|
|
for (PQREnum item : PQREnum.values()) {
|
|
if (item.CODE.equals(callNo)) {
|
|
return item;
|
|
}
|
|
}
|
|
return NO;
|
|
}
|
|
|
|
}
|
|
|