md
This commit is contained in:
parent
4d8da413cc
commit
0e1d3212ff
@ -610,14 +610,17 @@ public class EmisBaseService {
|
||||
EmisWaybill waybill = getWaybillByBillCode(dt.getBillCode());
|
||||
|
||||
// "尊敬的用户:您的运单${name}从${Sendingcountry}寄往${Receivingcountry}因${Problemtype}的问题导致货物时效延误预计送达时间${time},详询400-025-7080感谢您对探路速运的支持!";
|
||||
|
||||
EmisProblemType emisProblemType=getEmisProblemTypeByType(waybill.getProblemType());
|
||||
|
||||
String sendingcountry=waybill.getSendCountryName();
|
||||
String receivingcountry=waybill.getReceiveCountryName();
|
||||
JSONObject jObjParam = new JSONObject();
|
||||
jObjParam.put("${Sendingcountry}",sendingcountry);
|
||||
jObjParam.put("${Receivingcountry}",receivingcountry);
|
||||
jObjParam.put("${name}",waybill.getBillCode());
|
||||
jObjParam.put("${Problemtype}",waybill.getProblemCause());
|
||||
jObjParam.put"${time}",DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,waybill.getEstimateDate()));
|
||||
jObjParam.put("Sendingcountry",sendingcountry);
|
||||
jObjParam.put("Receivingcountry",receivingcountry);
|
||||
jObjParam.put("name",waybill.getBillCode());
|
||||
jObjParam.put("Problemtype",emisProblemType.getTypeName());
|
||||
jObjParam.put("time",DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,waybill.getEstimateDate()));
|
||||
|
||||
aliyunSMSService.sendMessage("探路速运", "SMS_465386407", dt.getPhone(), jObjParam.toJSONString());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user