Selaa lähdekoodia

1、测试程序病案首页传参方式修改

louhr 5 vuotta sitten
vanhempi
commit
02d5dbb908

+ 6 - 6
kernel/src/main/java/com/lantone/qc/kernel/web/controller/QCTestController.java

@@ -199,13 +199,13 @@ public class QCTestController {
                     MedrecVo medrecVo = new MedrecVo();
                     medrecVo.setTitle(label);
                     String jsonString = details.get(0);
-                    if ("1".equals(hospitalId)) {
+//                    if ("1".equals(hospitalId)) {
                         medrecVo.setContent(FastJsonUtils.getJsonToMap(jsonString));
-                    } else {
-                        Map<String, Object> m = new HashMap<>();
-                        m.put("content", details);
-                        medrecVo.setContent(m);
-                    }
+//                    } else {
+//                        Map<String, Object> m = new HashMap<>();
+//                        m.put("content", details);
+//                        medrecVo.setContent(m);
+//                    }
                     medrec.add(medrecVo);
                     details = new ArrayList<>();
                 } else if (!label.equals(String.valueOf(r3)) && StringUtils.isNotEmpty(label) && (label.equals("会诊记录") || label.equals("会诊申请单") || label.equals("会诊结果单"))) {