Browse Source

实体调整

master
qiubh 3 months ago
parent
commit
00a4cdf673

+ 7
- 7
gly-base-core/src/main/java/cn/com/taiji/core/entity/dict/issue/IssueOrderStep.java View File

ORDER_STEP_17(17, "退货成功"), ORDER_STEP_17(17, "退货成功"),
ORDER_STEP_18(18, "换货-设备已回收"), ORDER_STEP_18(18, "换货-设备已回收"),
ORDER_STEP_19(19, "审核中"), ORDER_STEP_19(19, "审核中"),
ORDER_STEP_20(20, ApplyType.CARD.getName()),
/*ORDER_STEP_20(20, ApplyType.CARD.getName()),
ORDER_STEP_21(21, ApplyType.OBU.getName()), ORDER_STEP_21(21, ApplyType.OBU.getName()),
ORDER_STEP_22(22, ApplyType.ALL.getName()), ORDER_STEP_22(22, ApplyType.ALL.getName()),
ORDER_STEP_23(23, ApplyType.EXCHANGE_CARD.getName()), ORDER_STEP_23(23, ApplyType.EXCHANGE_CARD.getName()),
ORDER_STEP_24(24, ApplyType.EXCHANGE_OBU.getName()), ORDER_STEP_24(24, ApplyType.EXCHANGE_OBU.getName()),
ORDER_STEP_25(25, ApplyType.EXCHANGE_ALL.getName()),
ORDER_STEP_25(25, ApplyType.EXCHANGE_ALL.getName()),*/


ORDER_STEP_30(30, "异地-邮寄地址填写"), ORDER_STEP_30(30, "异地-邮寄地址填写"),
ORDER_STEP_31(31, "异地-售前退货"), ORDER_STEP_31(31, "异地-售前退货"),
/** /**
* 根据编码查找枚举 * 根据编码查找枚举
* *
* @param code 编码
/* * @param code 编码
* @return {@link OrderStepTypeEnum } 实例 * @return {@link OrderStepTypeEnum } 实例
**/
**//*
public static OrderStepTypeEnum find(Integer code) throws ServiceHandleException { public static OrderStepTypeEnum find(Integer code) throws ServiceHandleException {
for (OrderStepTypeEnum instance : OrderStepTypeEnum.values()) { for (OrderStepTypeEnum instance : OrderStepTypeEnum.values()) {
if (instance.getCode().equals(code)) { if (instance.getCode().equals(code)) {
} }
} }
return null; return null;
}
}*/


/** /**
* 根据编码查找枚举 * 根据编码查找枚举
* @param code 编码 * @param code 编码
* @return step 描述 * @return step 描述
**/ **/
public static String findName(Integer code) {
/* public static String findName(Integer code) {
for (OrderStepTypeEnum instance : OrderStepTypeEnum.values()) { for (OrderStepTypeEnum instance : OrderStepTypeEnum.values()) {
if (instance.getCode().equals(code)) { if (instance.getCode().equals(code)) {
return instance.getStep(); return instance.getStep();
} }
} }
return null; return null;
}
}*/


IssueOrderStep(Integer code, String step) { IssueOrderStep(Integer code, String step) {
this.code = code; this.code = code;

Loading…
Cancel
Save