Authored by LUOXC

refactor

... ... @@ -117,9 +117,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
OrderStatus buyerOrderStatus = OrderStatus.getOrderStatus(buyerOrder.getStatus());
OrderStatus expectStatus;
// 如果当前订单状态为待寄存或待收货
if(buyerOrderStatus == OrderStatus.JUDGE_PASS_WAIT_WAREHOUSE
|| buyerOrderStatus == OrderStatus.WAITING_RECEIVE){
expectStatus = buyerOrderStatus;
if(buyerOrderStatus == OrderStatus.JUDGE_PASS_WAIT_WAREHOUSE){
expectStatus = OrderStatus.JUDGE_PASS_WAIT_WAREHOUSE;
} else {
expectStatus = OrderStatus.WAITING_RECEIVE;
}
... ...