瀏覽代碼

入院和出院的返回参数变动

shiyue 3 年之前
父節點
當前提交
d8b1420f01
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/diagbot/facade/data/AMedicalRecordFacade.java

+ 2 - 2
src/main/java/com/diagbot/facade/data/AMedicalRecordFacade.java

@@ -310,9 +310,9 @@ public class AMedicalRecordFacade extends MedicalRecordServiceImpl {
 
             //判断文书是否为入院记录或者是出院记录
             if (modeId.equals(Long.valueOf("1"))){
-                respDto.put("ret","1");respDto.put("mag",indexUrl);
+                respDto.put("ret","0");respDto.put("mag",indexUrl);
             }else if (modeId.equals(Long.valueOf("5"))){
-                respDto.put("ret","1");respDto.put("mag",totalUrl);
+                respDto.put("ret","0");respDto.put("mag",totalUrl);
             }else {
                 respDto.put("ret","0");respDto.put("mag","true");
             }