Browse Source

fix: 优化提示

Walker 2 năm trước cách đây
mục cha
commit
174cda9734

+ 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;