소스 검색

fix: 优化提示

Walker 2 년 전
부모
커밋
174cda9734
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/IsvMedicCardServiceImpl.java

+ 1 - 1
onemini-hospital-empty/src/main/java/com/ywt/alipaympapi/service/impl/IsvMedicCardServiceImpl.java

@@ -449,7 +449,7 @@ public class IsvMedicCardServiceImpl implements IsvMedicCardService {
                 .build());
         System.out.println(TextFormat.printToUnicodeString(response));
         if (response.getCode() != ResultCode.SUCCEED_VALUE) throw new AppMessageException(response.getInfo());
-        if (response.getInfo().contains("已有诊疗卡")) throw new AppMessageException("已有该诊疗卡,请勿重复添加");
+//        if (response.getInfo().contains("已有诊疗卡")) throw new AppMessageException("已有该诊疗卡,请勿重复添加");
         AddPatientResponse r = new AddPatientResponse();
         r.setIsSuccess(true);
         return r;