From d71460e89b4e556aa9f396100004fcdabe98a0ff Mon Sep 17 00:00:00 2001
From: zjh <zjh@888>
Date: 星期五, 14 六月 2024 21:30:39 +0800
Subject: [PATCH] zjh 本地 2024/06/14 --2

---
 ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java
index 9a53c5a..0adec9b 100644
--- a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java
+++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java
@@ -59,7 +59,14 @@
             map.put ("Pationid", null);
         }
         map.put ("brxm", customer.getCusName ());
-        map.put ("brxb", customer.getCusSex ());
+        Long cusSex = customer.getCusSex();
+        if(cusSex==0L){
+            map.put ("brxb",1);
+        }else if(cusSex==1L){
+            map.put ("brxb",2);
+        }else {
+            map.put ("brxb",9);
+        }
         map.put ("csrq", DateUtil.format(customer.getCusBrithday(),"yyyy-MM-dd"));
         map.put ("brnl", customer.getAge ());
         map.put ("brnldw", customer.getAgeUnit ());
@@ -204,7 +211,7 @@
         Map<String, Object> map = new HashMap<> ();
         map.put ("his_registration_id", hisRegistrationId);
         map.put ("czybm", czybm);
-        map.put ("zflxbm", sqdh);
+        map.put ("sqdh", sqdh);
         String post = HttpClientUtils.sendPost (HIS_URL+"Outpindeltestapply", map);
         return AjaxResult.success ().put ("data", post);
     }
@@ -238,7 +245,7 @@
         Map<String, Object> map = new HashMap<> ();
         map.put ("his_registration_id", hisRegistrationId);
         map.put ("czybm", czybm);
-        map.put ("zflxbm", sqdh);
+        map.put ("sqdh", sqdh);
         String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelexamapply", map);
         return AjaxResult.success ().put ("data", post);
     }
@@ -269,7 +276,7 @@
         Map<String, Object> map = new HashMap<> ();
         map.put ("his_registration_id", hisRegistrationId);
         map.put ("czybm", czybm);
-        map.put ("zflxbm", sqdh);
+        map.put ("sqdh", sqdh);
         String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelmedapply", map);
         return AjaxResult.success ().put ("data", post);
     }
@@ -300,7 +307,7 @@
         Map<String, Object> map = new HashMap<> ();
         map.put ("his_registration_id", hisRegistrationId);
         map.put ("czybm", czybm);
-        map.put ("zflxbm", sqdh);
+        map.put ("sqdh", sqdh);
         String post = HttpClientUtils.sendPost (HIS_URL+"Outpintdelreatapply", map);
         return AjaxResult.success ().put ("data", post);
     }

--
Gitblit v1.8.0