Commit 465f8c65ca0a5406f7b4d55dcde43a41c62d772f

Authored by dongqin
1 parent e90f4da7b1

添加输出打印

Showing 1 changed file with 4 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java View file @ 465f8c6
... ... @@ -515,7 +515,9 @@
515 515 operateLogFacade.addModifyOptLog(userId, Integer.parseInt(hospitalId), sieveModels.get(0), sieveModel, OptActionEnums.UPDATE.getId(), "增加产前筛查");
516 516 }
517 517 // 调用华大接口
  518 + System.out.println("debug=========>开始调用华大接口");
518 519 callHuaDa(sieveApplyOrderModel, hospitalId);
  520 + System.out.println("debug=========>结束调用华大接口");
519 521 } else {
520 522 return new BaseResponse().setErrorcode(ErrorCodeConstants.DATA_EXIST).setErrormsg("已申请过产筛");
521 523 }
... ... @@ -534,7 +536,7 @@
534 536 private void callHuaDa(SieveApplyOrderModel sieveApplyOrderModel, String hospitalId) {
535 537 try{
536 538 String sieveType = sieveApplyOrderModel.getSieveType();
537   - if ("4".equals(HIS_VERSION)) {
  539 + //if ("4".equals(HIS_VERSION)) {
538 540 if (StringUtils.isNotEmpty(sieveType) && "2".equals(sieveType)) {
539 541 final String productCode = "DX1331";
540 542 HuadaSieveApplyOrderAddRequest request = new HuadaSieveApplyOrderAddRequest();
... ... @@ -632,7 +634,7 @@
632 634  
633 635 huadaSaveSampleInfo(request);
634 636 }
635   - }
  637 + // }
636 638 }catch (Exception e){
637 639 e.printStackTrace();
638 640 logger.error("调用华大接口失败", e);