|
@ -425,10 +425,10 @@ public class PrescriptionExpressageService extends BaseJpaService<WlyyPrescripti
|
|
|
for (Object o : child) {
|
|
|
Element routinfoe = (Element) o;
|
|
|
WlyyPrescriptionExpressageLogDO sflog = new WlyyPrescriptionExpressageLogDO();
|
|
|
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");
|
|
|
|
|
@ -466,6 +466,8 @@ public class PrescriptionExpressageService extends BaseJpaService<WlyyPrescripti
|
|
|
|
|
|
//根据快递单号获取处方配送详细信息
|
|
|
WlyyPrescriptionExpressageDO sfexpress = prescriptionExpressageDao.findByPrescriptionExpressMailno(mailno);
|
|
|
//根据门诊id获取处方详细信息
|
|
|
List<WlyyPrescriptionDO> sfprescription = prescriptionDao.findByOutpatientId(sfexpress.getOutpatientId());
|
|
|
//根据快递单号获取本地的路由信息
|
|
|
List<WlyyPrescriptionExpressageLogDO> localroutinfos = prescriptionExpressageLogDao.queryByOutpatientId(sfexpress.getOutpatientId());
|
|
|
//需要增量更新到本地的路由信息集合
|
|
@ -496,6 +498,7 @@ public class PrescriptionExpressageService extends BaseJpaService<WlyyPrescripti
|
|
|
continue;
|
|
|
}else{
|
|
|
pushlog.setOutpatientId(sfexpress.getOutpatientId());
|
|
|
pushlog.setPrescriptionId(sfprescription.get(0).getId());
|
|
|
newroutinfolist.add(pushlog);
|
|
|
}
|
|
|
}
|