赵文轩
2024-06-13 02ced282179511ba05d50baf63ac74b53ec71f93
ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java
@@ -33,6 +33,7 @@
    private static  String HIS_URL = "";
    // 数据库配置文件路径
//    private static final String CONFIG_PATH = "/Users/chacca/开发相关/代码/ltkj_peis/ltkj-admin/src/main/resources/config.properties";
    private static final String CONFIG_PATH = "D:\\ltkjprojectconf\\config.properties";
    static  {
@@ -53,9 +54,9 @@
    public AjaxResult Outpincreateapply (TjCustomer customer) {
        Map<String, Object> map = new HashMap<> ();
        if (null != customer.getPationId () && !customer.getPationId().equals("0")) {
            map.put ("pationid", customer.getPationId ());
            map.put ("Pationid", customer.getPationId ());
        } else {
            map.put ("pationid", null);
            map.put ("Pationid", null);
        }
        map.put ("brxm", customer.getCusName ());
        map.put ("brxb", customer.getCusSex ());
@@ -203,7 +204,7 @@
        Map<String, Object> map = new HashMap<> ();
        map.put ("his_registration_id", hisRegistrationId);
        map.put ("czybm", czybm);
        map.put ("zflxbm", sqdh);
        map.put ("sqdh", sqdh);
        String post = HttpClientUtils.sendPost (HIS_URL+"Outpindeltestapply", map);
        return AjaxResult.success ().put ("data", post);
    }
@@ -237,7 +238,7 @@
        Map<String, Object> map = new HashMap<> ();
        map.put ("his_registration_id", hisRegistrationId);
        map.put ("czybm", czybm);
        map.put ("zflxbm", sqdh);
        map.put ("sqdh", sqdh);
        String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelexamapply", map);
        return AjaxResult.success ().put ("data", post);
    }
@@ -268,7 +269,7 @@
        Map<String, Object> map = new HashMap<> ();
        map.put ("his_registration_id", hisRegistrationId);
        map.put ("czybm", czybm);
        map.put ("zflxbm", sqdh);
        map.put ("sqdh", sqdh);
        String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelmedapply", map);
        return AjaxResult.success ().put ("data", post);
    }
@@ -299,7 +300,7 @@
        Map<String, Object> map = new HashMap<> ();
        map.put ("his_registration_id", hisRegistrationId);
        map.put ("czybm", czybm);
        map.put ("zflxbm", sqdh);
        map.put ("sqdh", sqdh);
        String post = HttpClientUtils.sendPost (HIS_URL+"Outpintdelreatapply", map);
        return AjaxResult.success ().put ("data", post);
    }
@@ -498,6 +499,7 @@
//        map.put ("pationid", pationid);
//        map.put ("pagecount", pagecount);
//        map.put ("page", page);
        String post = HttpClientUtils.sendPost (HIS_URL+"Getlabreportinfo", map);
        return AjaxResult.success ().put ("data", post);
    }
@@ -659,4 +661,9 @@
        String post = HttpClientUtils.sendPost (HIS_URL+"Getpatientalterregrecord", map);
        return AjaxResult.success ().put ("data", post);
    }
    public AjaxResult Getlabdetailinfo (Map<String ,Object> map) {
        String post = HttpClientUtils.sendPost (HIS_URL+"Getlabdetailinfo", map);
        return AjaxResult.success ().put ("data", post);
    }
}