...
|
...
|
@@ -212,23 +212,23 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo orderSendOutNew(String uid, String uName, String orderCode, String companyName, String expressNum) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_NEW, uid, uName, orderCode, companyName, expressNum);
|
|
|
public SendMessageRspBo orderSendOutNew(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_NEW, uid, uName, orderCode, companyName, expressNum, arriveDate);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo orderSendOutOther(String uid, String uName, String orderCode, String companyName, String expressNum) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_OTHER, uid, uName, orderCode, companyName, expressNum);
|
|
|
public SendMessageRspBo orderSendOutOther(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_OTHER, uid, uName, orderCode, companyName, expressNum, arriveDate);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo orderSendOutWarehouse(String uid, String uName, String orderCode, String companyName, String expressNum) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_WAREHOUSE, uid, uName, orderCode, companyName, expressNum);
|
|
|
public SendMessageRspBo orderSendOutWarehouse(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_WAREHOUSE, uid, uName, orderCode, companyName, expressNum, arriveDate);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo orderSendOutOtherWarehouse(String uid, String uName, String orderCode, String companyName, String expressNum) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_OTHER_WAREHOUSE, uid, uName, orderCode, companyName, expressNum);
|
|
|
public SendMessageRspBo orderSendOutOtherWarehouse(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
|
|
|
return this.dealOrderSendOut(SendScenes.ORDER_SEND_OUT_OTHER_WAREHOUSE, uid, uName, orderCode, companyName, expressNum, arriveDate);
|
|
|
}
|
|
|
|
|
|
@Override
|
...
|
...
|
@@ -284,12 +284,13 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr |
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
private SendMessageRspBo dealOrderSendOut(String sendScene, String uid, String uName, String orderCode, String companyName, String expressNum) {
|
|
|
private SendMessageRspBo dealOrderSendOut(String sendScene, String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
|
|
|
MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(sendScene, orderCode, uid);
|
|
|
messageCenterCommonEvent.putInParams("orderCode", orderCode);
|
|
|
messageCenterCommonEvent.putInParams("companyName", companyName);
|
|
|
messageCenterCommonEvent.putInParams("expressNum", expressNum);
|
|
|
messageCenterCommonEvent.putInParams("uName", uName);
|
|
|
messageCenterCommonEvent.putInParams("arriveDate", arriveDate);
|
|
|
messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
|
|
|
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
...
|
...
|
|