Commit 31aff4b5 by xiaoer.li@freemud.com

add:增加骑手标志位

parent 66178507
......@@ -45,4 +45,5 @@ public class PosBaseRequestDto {
private Integer delivery_status;
private String deliveryId;
private boolean horseman = false;
}
......@@ -149,6 +149,7 @@ public class ThirdDeliveryServiceImpl implements ThirdDeliveryService {
sendPosService(deliveryStatus,posBaseRequestDto);
} else if (deliveryStatus == DeliveryStatus.RIDERGETMEAL.getCode() || deliveryStatus == DeliveryStatus.RIDERSTARTDELIVERY.getCode()) {
// 订单配送
posBaseRequestDto.setHorseman(true);
sendPosService(deliveryStatus,posBaseRequestDto);
} else if (deliveryStatus == DeliveryStatus.DELIVERYARRIVED.getCode()) {
// 订单已完成
......
......@@ -40,6 +40,7 @@ public class OrderManagerRequest {
*/
private String operator;
private boolean horseman;
public OrderManagerRequest(){
}
......@@ -51,12 +52,13 @@ public class OrderManagerRequest {
this.operateType=operateType.getOpType();
this.operator=operateClient.getOpName();
}
public OrderManagerRequest(String partnerId, String storeId, String orderId, OperateClient operateClient, OperateType operateType, String reason){
public OrderManagerRequest(String partnerId, String storeId, String orderId, OperateClient operateClient, OperateType operateType, String reason,boolean horseman){
this.partnerId=partnerId;
this.storeId=storeId;
this.orderId=orderId;
this.operateType=operateType.getOpType();
this.operator=operateClient.getOpName();
this.reason=reason;
this.horseman = horseman;
}
}
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