Commit 4bac6a65 authored by Smile's avatar Smile

mearge代码以及短信修改

parent bb9733bd
...@@ -2459,7 +2459,18 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI ...@@ -2459,7 +2459,18 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
} }
if (!StringUtils.equals(cargoControlCode.concat(cargoControlPhone), consigneeCountryCode.concat(consigneePhone))) { if (!StringUtils.equals(cargoControlCode.concat(cargoControlPhone), consigneeCountryCode.concat(consigneePhone))) {
// 给收货人发送短信 // 给收货人发送短信
this.smsSendNotice(consigneeCountryCode, consigneePhone, consigneeCustomerId, templateCode, consigneeParamMap); SmsSendSingleToUserReqDTOV2 rv2 = new SmsSendSingleToUserReqDTOV2();
rv2.setTemplateParams(consigneeParamMap);
rv2.setNodeValue(nodeValue);
rv2.setUserId(consigneeCustomerId);
rv2.setMobile(consigneePhone);
rv2.setAreaCode(consigneeCountryCode);
rv2.setIsTransport(SmsIsTransportEnum.SMS_IS_TRANSPORT_1.getValue());
rv2.setTransportId(orderDO.getTransportId());
rv2.setIsOrders(SmsIsOrdersEnum.SMS_ORDERS_0.getValue());
rv2.setMessageType(SmsMessageTypeEnum.SMS_MESSAGE_TYPE_1.getValue());
smsSendApi.sendSingleSmsToAdminV2(rv2,logisticsInfoDto.getDestCountryId()+ Constants.COLON+logisticsInfoDto.getDestCityId()+Constants.COLON
+logisticsInfoDto.getDestWarehouseId());
} }
} }
} }
......
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