Authored by mingdan.ge

cps订单失效判断修改

... ... @@ -72,7 +72,7 @@ public enum ShareOrdersStatusEnum {
}
public static boolean isFailOrder(String status) {
return (!status.equals(ShareOrdersStatusEnum.CAN_SETTLE)) && (ShareOrdersStatusEnum.getLevelByCode(status)==2);
return (!status.equals(ShareOrdersStatusEnum.CAN_SETTLE.getCode())) && (ShareOrdersStatusEnum.getLevelByCode(status)==2);
}
public int getLevel() {
return level;
... ...