路泰机电科技体检——数据平台后端
zhaowenxuan
2025-02-21 aa93e512a60379c6373d10023f49dae4403b51c4
src/main/java/com/example/service/shanxiqin/xian/MeiJiHisService.java
@@ -408,7 +408,9 @@
        map.put ("yeWuLx",string);
        // 参数类型区分
        map.put("type","1");
        String post = HttpClientUtils.sendPost(TJ_URL + "/callBack/pushZhiFuMsg", map);
        HashMap<String, Object> headers = new HashMap<>();
        headers.put("hospId","xamjyy");
        String post = HttpClientUtils.sendPost(TJ_URL + "/callBack/pushZhiFuMsg", map,headers);
        JSONObject jsonObject = JSONUtil.parseObj(post);
        JSONObject obj = JSONUtil.createObj();
        if (jsonObject.getStr("code").equals("200")) {
@@ -537,7 +539,9 @@
    public void syncDict(String hospName) {
        HashMap<String, Object> map = new HashMap<>();
        map.put("hosp","shanxiqinxamjyy");
        String post = HttpClientUtils.sendPost(TJ_URL + "/callBack/getZdList", map);
        HashMap<String, Object> headers = new HashMap<>();
        headers.put("hospId","xamjyy");
        String post = HttpClientUtils.sendPost(TJ_URL + "/callBack/getZdList", map,headers);
        JSONArray jsonArray = JSONUtil.parseObj(post).getJSONArray("data");
        if (jsonArray != null && !jsonArray.isEmpty()) {
            List<HisSyncDict> list = jsonArray.toList(HisSyncDict.class);