Commit 30d598f3 authored by 周健威's avatar 周健威

修改

parent 29c163af
...@@ -402,7 +402,7 @@ public class OrderCancelBiz { ...@@ -402,7 +402,7 @@ public class OrderCancelBiz {
orderRentVehicleBiz.updateSelectiveById(orvd); orderRentVehicleBiz.updateSelectiveById(orvd);
} }
if(BaseOrder.ORDER_SIGN_APPLY == baseOrder.getOrderOrigin()) { if(BaseOrder.ORDER_SIGN_APPLY == baseOrder.getOrderSign()) {
//更新 申请状态 //更新 申请状态
ShuntApply shuntApply = shuntApplyBiz.selectOne(new ShuntApply(){{ ShuntApply shuntApply = shuntApplyBiz.selectOne(new ShuntApply(){{
setOrderNo(baseOrder.getNo()); setOrderNo(baseOrder.getNo());
...@@ -422,7 +422,7 @@ public class OrderCancelBiz { ...@@ -422,7 +422,7 @@ public class OrderCancelBiz {
} }
} }
if(BaseOrder.ORDER_SIGN_SPECIAL == baseOrder.getOrderOrigin()) { if(BaseOrder.ORDER_SIGN_SPECIAL == baseOrder.getOrderSign()) {
//更新 申请状态 //更新 申请状态
SpecialRent specialRent = specialRentBiz.selectOne(new SpecialRent(){{ SpecialRent specialRent = specialRentBiz.selectOne(new SpecialRent(){{
setOrderNo(baseOrder.getNo()); setOrderNo(baseOrder.getNo());
......
...@@ -223,6 +223,7 @@ public class ShuntApplyController extends BaseController<ShuntApplyBiz, ShuntApp ...@@ -223,6 +223,7 @@ public class ShuntApplyController extends BaseController<ShuntApplyBiz, ShuntApp
dto.setEndCompanyId(shuntApply.getEndCompanyId()); dto.setEndCompanyId(shuntApply.getEndCompanyId());
RentVehicleBO bo = orderRentVehicleBiz.initRentVehicleBO(dto); RentVehicleBO bo = orderRentVehicleBiz.initRentVehicleBO(dto);
bo.setOrderSign(BaseOrder.ORDER_SIGN_APPLY); bo.setOrderSign(BaseOrder.ORDER_SIGN_APPLY);
bo.setBookRecordId(shuntApply.getBookRecordId());
bo.setAppUserDTO(userFeign.userDetailByToken(BaseContextHandler.getToken()).getData()); bo.setAppUserDTO(userFeign.userDetailByToken(BaseContextHandler.getToken()).getData());
orderRentVehicleService.applyCreateOrder(bo, shuntApply.getOrderNo()); orderRentVehicleService.applyCreateOrder(bo, shuntApply.getOrderNo());
baseBiz.updateSelectiveById(new ShuntApply(){{ baseBiz.updateSelectiveById(new ShuntApply(){{
......
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