Преглед на файлове

修改接受顺丰快递路由信息接口,解析XML报文错误的BUG

huangwenjie преди 7 години
родител
ревизия
f7b872dd4a

+ 2 - 2
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/express/SFExpressService.java

@ -367,9 +367,9 @@ public class SFExpressService extends BaseService {
    public void SFRoutePushService(String xml) throws Exception{
        Document doc = DocumentHelper.parseText(xml);
        Element root = doc.getRootElement();
        if (root.element("WaybillRoute") != null)     //包含WaybillRoute节点
        if (root.element("Body") != null)     //包含WaybillRoute节点
        {
            root = root.element("WaybillRoute");
            root = root.element("Body");
        }
        List<?> child = root.elements();

+ 3 - 2
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/prescription/PrescriptionService.java

@ -104,10 +104,11 @@ public class PrescriptionService extends BaseService {
    /**
     * 返回支付信息
     * @param code
     * @param cardNo 医保卡号
     * @param visitNo 挂号号
     * @return
     */
    public JSONObject getPayInfo(String code){
    public JSONObject getPayInfo(String cardNo,String visitNo) throws Exception {
        String result = jwPrescriptionService.getDispUnSettleFeeInfoList(cardNo,visitNo);