Commit 3483b2e8 by wangli

人工指派订单修改指派方式

1 parent 3d7ed7f4
...@@ -255,6 +255,7 @@ public class DispatchServiceImpl implements DispatchService { ...@@ -255,6 +255,7 @@ public class DispatchServiceImpl implements DispatchService {
// 更新order request表状态 // 更新order request表状态
LambdaUpdateWrapper<OrderRequest> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<OrderRequest> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(OrderRequest::getAppointmentStatus, "ASSIGNED"); wrapper.set(OrderRequest::getAppointmentStatus, "ASSIGNED");
wrapper.set(OrderRequest::getAppointmentMethod, "MANUAL");
wrapper.eq(OrderRequest::getOrderId, orderId); wrapper.eq(OrderRequest::getOrderId, orderId);
orderRequestMPDao.update(null, wrapper); orderRequestMPDao.update(null, wrapper);
} }
......
...@@ -133,6 +133,7 @@ public class OrderAssignImpl implements OrderAssign { ...@@ -133,6 +133,7 @@ public class OrderAssignImpl implements OrderAssign {
// 更新order_request表状态 // 更新order_request表状态
LambdaUpdateWrapper<OrderRequest> wrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<OrderRequest> wrapper = new LambdaUpdateWrapper<>();
wrapper.set(OrderRequest::getAppointmentStatus, "ASSIGNED"); wrapper.set(OrderRequest::getAppointmentStatus, "ASSIGNED");
wrapper.set(OrderRequest::getAppointmentMethod, "MANUAL");
wrapper.eq(OrderRequest::getOrderId, orderId); wrapper.eq(OrderRequest::getOrderId, orderId);
orderRequestMPDao.update(null, wrapper); orderRequestMPDao.update(null, wrapper);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!