Authored by chenchao

remove

... ... @@ -136,7 +136,32 @@ public class ActionStatusHold {
static {
sellerCanCancelBuyerOrderStatus = Arrays.asList(OrderStatus.HAS_PAYED.getCode());
}
/**
* 未完成的订单状态,商家退驻时需要
* @return
*/
public static List<Integer> unfinishedOrderStatusCode = Arrays.asList(
OrderStatus.WAITING_PAY.getCode(),
OrderStatus.HAS_PAYED.getCode(),
OrderStatus.SELLER_SEND_OUT.getCode(),
OrderStatus.PLATFORM_RECEIVE.getCode(),
OrderStatus.PLATFORM_CHECKING.getCode(),
OrderStatus.MINI_FAULT_WAITING.getCode(),
OrderStatus.MINI_FAULT_ACCEPT.getCode(),
OrderStatus.JUDGE_PASS.getCode()
);
}
public static List<Integer> getUnfinishedOrderStatusCode(){
return SellerASH.unfinishedOrderStatusCode;
}
public static List<Integer> getSellerShowExpressStatusList(){
return SellerASH.View_Express_Status;
}
... ...
... ... @@ -814,7 +814,7 @@ public class SellerOrderService implements IOrderListService, IOrderDetailServi
*/
public int getUnfinishedOrderBySellerUid(Integer uid){
log.info("in seller order getUnfinishedOrderBySellerUid count uid {} ", uid);
List<Integer> statusList = OrderStatus.getUnfinishedOrderStatusCode();
List<Integer> statusList = ActionStatusHold.getUnfinishedOrderStatusCode();
Integer total = buyerOrderMapper.selectCntBySellerUidStatus(uid, statusList);
log.info("in seller order getUnfinishedOrderBySellerUid count uid {}, total {} ", uid, total);
return total;
... ...