Authored by Amos_sdy

接口修改

@@ -67,10 +67,10 @@ public interface ISendOrderMessage { @@ -67,10 +67,10 @@ public interface ISendOrderMessage {
67 * @param orderCode 67 * @param orderCode
68 * @param companyName 68 * @param companyName
69 * @param expressNum 69 * @param expressNum
70 - * @param isRemote 70 + * @param arriveDate
71 * @return <br> 71 * @return <br>
72 */ 72 */
73 - public SendMessageRspBo orderSendOut(String uid, String uName, String orderCode, String companyName, String expressNum, boolean isRemote); 73 + public SendMessageRspBo orderSendOut(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate);
74 74
75 /** 75 /**
76 * 线下店订单线上发货发票通知 76 * 线下店订单线上发货发票通知
@@ -74,13 +74,13 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr @@ -74,13 +74,13 @@ public class SendOrderMessageImpl extends AbstractSendMessage implements ISendOr
74 } 74 }
75 75
76 @Override 76 @Override
77 - public SendMessageRspBo orderSendOut(String uid, String uName, String orderCode, String companyName, String expressNum, boolean isRemote) { 77 + public SendMessageRspBo orderSendOut(String uid, String uName, String orderCode, String companyName, String expressNum, String arriveDate) {
78 MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.ORDER_SEND_OUT, orderCode, uid); 78 MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.ORDER_SEND_OUT, orderCode, uid);
79 messageCenterCommonEvent.putInParams("orderCode", orderCode); 79 messageCenterCommonEvent.putInParams("orderCode", orderCode);
80 messageCenterCommonEvent.putInParams("companyName", companyName); 80 messageCenterCommonEvent.putInParams("companyName", companyName);
81 messageCenterCommonEvent.putInParams("expressNum", expressNum); 81 messageCenterCommonEvent.putInParams("expressNum", expressNum);
82 messageCenterCommonEvent.putInParams("uName", uName); 82 messageCenterCommonEvent.putInParams("uName", uName);
83 - messageCenterCommonEvent.putInParams("arriveDate", isRemote == true ? "3-5" : "1-3"); 83 + messageCenterCommonEvent.putInParams("arriveDate", arriveDate);
84 messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent); 84 messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
85 85
86 return new SendMessageRspBo(200, "SUCCESS"); 86 return new SendMessageRspBo(200, "SUCCESS");