Pārlūkot izejas kodu

病人更新去除姓名限制

gaodm 4 gadi atpakaļ
vecāks
revīzija
a976e178c0

+ 4 - 4
tran-service/src/main/java/com/diagbot/facade/PatientInfoDjFacade.java

@@ -268,7 +268,7 @@ public class PatientInfoDjFacade extends PatientInfoServiceImpl {
                     .contains(patientInfo.getCode())) {
                 QueryWrapper<PatientInfo> patientInfoQe = new QueryWrapper<>();
                 patientInfoQe.eq("hospital_code", sonHospitalCode);
-                patientInfoQe.eq("name", patientInfo.getName());
+                //patientInfoQe.eq("name", patientInfo.getName());
                 patientInfoQe.eq(StringUtil.isBlank(patientInfo.getIdentityNum())
                                 && StringUtil.isNotBlank(patientInfo.getIdNo()),
                         "id_no", patientInfo.getIdNo());
@@ -388,7 +388,7 @@ public class PatientInfoDjFacade extends PatientInfoServiceImpl {
             return null;
         }
         String retJson = "  [{"
-                + "\"hospitalCode\": \"33010400\","
+                + "\"hospitalCode\": \"X\","
                 + "\"hospitalName\": \"江干区卫计局\","
                 + "\"sonHospitalCode\": \"33010480\","
                 + "\"sonHospitalName\": \"四季青街道社区卫生服务中心\","
@@ -399,7 +399,7 @@ public class PatientInfoDjFacade extends PatientInfoServiceImpl {
                 + "	\"hospitalCode\": \"33010480\","
                 + "	\"sex\": 1,"
                 + "	\"identityNum\": \"360827199603149901\","
-                + "	\"name\": \"刘亦菲\""
+                + "	\"name\": \"刘亦菲1\""
                 + "},"
                 + "\"detail\": [{"
                 + " \"hospitalDeptCode\": \"2127\","
@@ -437,7 +437,7 @@ public class PatientInfoDjFacade extends PatientInfoServiceImpl {
                 + " \"hospitalCode\": \"33010450\","
                 + " \"sex\": 1,"
                 + "  \"identityNum\": \"360827199603149901\","
-                + "  \"name\": \"刘亦菲\""
+                + "  \"name\": \"刘亦菲1\""
                 + "},"
                 + " \"detail\": [{"
                 + "  \"hospitalDeptCode\": \"3005\","