|
|
package com.yohoufo.order.common;
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
|
* Created by chenchao on 2018/9/18.
|
|
|
*/
|
|
|
@Slf4j
|
|
|
public enum SellerOrderListType {
|
|
|
|
|
|
IN_SALE(1, "出售中",
|
...
|
...
|
@@ -71,7 +74,9 @@ public enum SellerOrderListType { |
|
|
* @return
|
|
|
*/
|
|
|
public static SellerOrderListType getOrderListType(int code){
|
|
|
return localCache.get(code);
|
|
|
SellerOrderListType sellerOrderListType = localCache.get(code);
|
|
|
log.info("method getOrderListType result is {} , code is {}", sellerOrderListType, code);
|
|
|
return sellerOrderListType;
|
|
|
}
|
|
|
|
|
|
public int getType() {
|
...
|
...
|
|