Commit 12f1de05 authored by hezhen's avatar hezhen

123

parent 81a14283
...@@ -61,6 +61,7 @@ public class OrderTourVerificationBiz{ ...@@ -61,6 +61,7 @@ public class OrderTourVerificationBiz{
return ObjectRestResponse.createFailedResult(ResultCode.NULL_CODE, "订单不是已支付状态"); return ObjectRestResponse.createFailedResult(ResultCode.NULL_CODE, "订单不是已支付状态");
} }
Integer orderId=baseOrder.getId(); Integer orderId=baseOrder.getId();
Integer version=baseOrder.getVersion();
OrderTourDetail tourDetail=new OrderTourDetail(); OrderTourDetail tourDetail=new OrderTourDetail();
tourDetail.setOrderId(orderId); tourDetail.setOrderId(orderId);
tourDetail=tourDetailBiz.selectOne(tourDetail); tourDetail=tourDetailBiz.selectOne(tourDetail);
...@@ -81,6 +82,7 @@ public class OrderTourVerificationBiz{ ...@@ -81,6 +82,7 @@ public class OrderTourVerificationBiz{
baseOrder=new BaseOrder(); baseOrder=new BaseOrder();
baseOrder.setId(orderId); baseOrder.setId(orderId);
baseOrder.setStatus(OrderStatusEnum.ORDER_FINISH.getCode()); baseOrder.setStatus(OrderStatusEnum.ORDER_FINISH.getCode());
baseOrder.setVersion(version);
baseOrderBiz.updateSelectiveById(baseOrder); baseOrderBiz.updateSelectiveById(baseOrder);
tourDetail.setVerificationUser(userDTO.getId()); tourDetail.setVerificationUser(userDTO.getId());
tourDetail.setVerificationName(userDTO.getName()); tourDetail.setVerificationName(userDTO.getName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment