Authored by LUOXC

fixbug

... ... @@ -759,8 +759,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
if (null == buyerOrder) {
throw new ServiceException(400, "订单不存在");
}
if (Constant.BUYER_ORDER_STATUS_JUDGING.getByteVal() != buyerOrder.getStatus().byteValue()) {
throw new ServiceException(400, "错误:订单状态变化,不允许取消订单,请重新刷新列表");
if (Constant.BUYER_ORDER_STATUS_APPRAISE_UNSURE.getByteVal() == buyerOrder.getStatus().byteValue()) {
return;
}
if (Constant.BUYER_ORDER_STATUS_PLATFORM_RECEIVE.getByteVal() != buyerOrder.getStatus().byteValue()) {
throw new ServiceException(400, "错误:订单状态已变化");
}
int operateType = OperateTypeEnum.ONLY_JUDGE_UNSURE.getCode();
UserHelper userHelper = new UserHelper();
... ...