|
@ -354,8 +354,7 @@ public class SFExpressService extends BaseService {
|
|
|
*/
|
|
|
public void SFRoutePushService(String xml) throws Exception{
|
|
|
Document doc = DocumentHelper.parseText(xml);
|
|
|
Document bodydoc = doc.selectSingleNode("/Request/Body").getDocument();
|
|
|
Element root = bodydoc.getRootElement();
|
|
|
Element root = doc.getRootElement();
|
|
|
if (root.element("WaybillRoute") != null) //包含WaybillRoute节点
|
|
|
{
|
|
|
root = root.element("WaybillRoute");
|
|
@ -366,10 +365,10 @@ public class SFExpressService extends BaseService {
|
|
|
for (Object o : child) {
|
|
|
Element routinfoe = (Element) o;
|
|
|
PrescriptionExpressageLog sflog = new PrescriptionExpressageLog();
|
|
|
String accept_time = routinfoe.attributeValue("acceptTime");
|
|
|
String accept_address = routinfoe.attributeValue("acceptAddress");
|
|
|
String accept_time = routinfoe.attributeValue("accepttime");
|
|
|
String accept_address = routinfoe.attributeValue("acceptaddress");
|
|
|
String accept_remark = routinfoe.attributeValue("remark");
|
|
|
String opcode = routinfoe.attributeValue("opCode");
|
|
|
String opcode = routinfoe.attributeValue("opcode");
|
|
|
String mailno = routinfoe.attributeValue("mailno");
|
|
|
String orderid = routinfoe.attributeValue("orderid");
|
|
|
|
|
@ -379,6 +378,7 @@ public class SFExpressService extends BaseService {
|
|
|
sflog.setOpCode(opcode);
|
|
|
sflog.setExpressageCode(orderid);
|
|
|
sflog.setCode(UUID.randomUUID().toString());
|
|
|
sflog.setCreateTime(new Date());
|
|
|
if(wayroutlsit.keySet().contains(mailno)){
|
|
|
wayroutlsit.get(mailno).add(sflog);
|
|
|
}else{
|