Authored by qinchao

修改地址调用公共判断

@@ -189,9 +189,10 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { @@ -189,9 +189,10 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
189 } 189 }
190 190
191 //买家已付款,卖家已发货,只有这两种状态的情况下,才允许改地址 191 //买家已付款,卖家已发货,只有这两种状态的情况下,才允许改地址
192 - boolean allowChange = buyerOrder.getStatus().intValue() == OrderStatus.HAS_PAYED.getCode()  
193 - ||buyerOrder.getStatus().intValue() == OrderStatus.SELLER_SEND_OUT.getCode() ; 192 + /*boolean allowChange = buyerOrder.getStatus().intValue() == OrderStatus.HAS_PAYED.getCode()
  193 + ||buyerOrder.getStatus().intValue() == OrderStatus.SELLER_SEND_OUT.getCode() ;*/
194 194
  195 + boolean allowChange = ActionStatusHold.buyerCanModifyAddress(buyerOrder.getStatus());
195 if(!allowChange){ 196 if(!allowChange){
196 logger.warn("buyerModifyAddress check orderCode status not invalid, uid is {}, orderCode is {} ,status is {}", 197 logger.warn("buyerModifyAddress check orderCode status not invalid, uid is {}, orderCode is {} ,status is {}",
197 uid, orderCode,buyerOrder.getStatus() ); 198 uid, orderCode,buyerOrder.getStatus() );