Commit 9d71fb1c044eff3e64fde0b2959c765f8f93a5d1

Authored by liquanyu
1 parent b75167d414
Exists in master and in 1 other branch dev

update

Showing 2 changed files with 17 additions and 5 deletions

platform-common/src/main/java/com/lyms/platform/common/utils/LymsEncodeUtil.java View file @ 9d71fb1
... ... @@ -26,7 +26,7 @@
26 26  
27 27 //String encrypt = aesEncrypt("com.lyms.platform.pojo.PatientWeight", key); System.out.println("加密后:" + encrypt);
28 28  
29   - String json = aesDecrypt("8A915B4A1B26D283EF1981BE0BCE6E78967C3065177F856709C3E1C9BC35AAB19153BB512619EB7FCA97377FE682CAA9", key);
  29 + String json = aesDecrypt("26EB0301C4A2410E90985A3E55856E4B394230836B32B93AD3C083D37C3C4E0BEA7B0DB8B7C18941599742DD2315584A", key);
30 30 System.out.println("解密后:" + json);
31 31  
32 32 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java View file @ 9d71fb1
... ... @@ -1935,11 +1935,23 @@
1935 1935 // }
1936 1936  
1937 1937  
1938   - @RequestMapping(value = "/his/getClFyIdByVcCardNo")
  1938 + @RequestMapping(value = "/his/getLcdcfyHis")
1939 1939 @ResponseBody
1940   - public Map<String, Object> getLcdcfyByZyhHis(@RequestParam("vcCardNo") String vcCardNo) {
  1940 + public Map<String,Object> getLcdcfyByZyhHis(@RequestParam("vcCardNo") String vcCardNo) {
  1941 + List<Map> list = new ArrayList<>();
  1942 + Map<String,String> data = new HashMap<>();
  1943 + data.put("id","1114536");
  1944 + data.put("vcCardNo","0000660411");
  1945 + data.put("name","张三");
  1946 + data.put("sex","女");
  1947 + data.put("birthday","2000-11-06");
  1948 + data.put("bhnum","54345");
  1949 + data.put("phone","15622222222");
  1950 + data.put("idCard","371525200011062385");
  1951 + list.add(data);
1941 1952 Map<String, Object> map = new HashMap<String, Object>();
1942   - map.put("id", "1236544");
  1953 + map.put("hisPatient", list);
  1954 +
1943 1955 return map;
1944 1956 }
1945 1957