| | |
| | | @Override |
| | | public void syncDict(String hospName) { |
| | | HashMap<String, Object> map = new HashMap<>(); |
| | | map.put("hosp","shanxiqinxamjyy"); |
| | | map.put("hosp","jcxrmyy"); |
| | | HashMap<String, Object> headers = new HashMap<>(); |
| | | headers.put("hospId","gspljcxyy"); |
| | | String post = HttpClientUtils.sendPost(TJ_URL + "/callBack/getZdList", map,headers); |
| | |
| | | connection.setRequestProperty("Authorization", token); |
| | | log.info("请求接口 ->{}", hisSyncDict.getUrl()); |
| | | if (hisSyncDict.getUrl().equals("/zhuShuJu/getListYiShengZd") || hisSyncDict.getUrl().equals("/zhuShuJu/getZhiGongPage") || hisSyncDict.getUrl().equals("/zhuShuJu/getJianChaXm")){ |
| | | connection.setRequestProperty("dangQianYhId","8902"); |
| | | connection.setRequestProperty("dangQianYhId","DBA"); |
| | | if (hisSyncDict.getUrl().equals("/zhuShuJu/getJianChaXm")) |
| | | connection.setRequestProperty("yuanQuId","1"); |
| | | } |