...
|
...
|
@@ -3,6 +3,7 @@ package com.yohoufo.order.utils; |
|
|
import com.yohobuy.ufo.model.order.bo.OrderInfo;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderAttributes;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderStatus;
|
|
|
import com.yohoufo.dal.order.model.BuyerOrder;
|
|
|
|
|
|
public class BuyerOrderUtils {
|
|
|
|
...
|
...
|
@@ -49,4 +50,11 @@ public class BuyerOrderUtils { |
|
|
public static boolean isDeposit(Integer attributes) {
|
|
|
return OrderAttributes.getOrderAttributes(attributes) == OrderAttributes.DEPOSITE;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 是否寄存订单
|
|
|
*/
|
|
|
public static boolean isDeposit(BuyerOrder buyerOrder) {
|
|
|
return isDeposit(buyerOrder.getAttributes());
|
|
|
}
|
|
|
} |
...
|
...
|
|