Commit f4305b47185803506800313db4790123160c27b9

Authored by cfl
1 parent a88914aa53
Exists in master and in 2 other branches dev, luanping

增加自动建档生成初检记录功能

Showing 1 changed file with 2 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RemoteController.java View file @ f4305b4
... ... @@ -369,7 +369,8 @@
369 369 List<ArchiveData> list = archiveDataServicer.query(query.convertToQuery());
370 370 if (CollectionUtils.isNotEmpty(list)) {
371 371 Map map = JsonUtil.str2Obj(list.get(0).getJsonData(), HashMap.class);
372   - Map<String, Object> history = JsonUtil.str2Obj(map.get("history").toString(),Map.class) ;
  372 + String history1 = JsonUtil.obj2JsonString(map.get("history"));
  373 + Map<String, Object> history = JsonUtil.str2Obj(history1,Map.class) ;
373 374  
374 375 PatientsQuery patientsQuery = new PatientsQuery();
375 376 patientsQuery.setYn(YnEnums.YES.getId());